Nift is a fast, lightweight and flexible website generator written in C++. It
tracks content, templates and dependencies so it can rebuild only the files that
need rebuilding, while leaving the rest of your web stack entirely up to you.
Nift can be used for simple websites, documentation, generated text assets, or
as a build layer alongside JavaScript, TypeScript, React, APIs and other tools.
www/nift: Fix build
- Fix build:
In file included from Expr.cpp:1:
In file included from ./Expr.h:8:
./exprtk/exprtk.h:6343:49: error: a template argument list is expected after a
name prefixed by the template keyword
[-Wmissing-template-arg-list-after-template-kw]
6343 | expression_node<T>::ndb_t::template collect(branch_,
node_delete_list);
| ^
Upstream pull request: https://github.com/nifty-site-manager/nsm/pull/38
- Fix bug:
nsm.cpp:1455:20: warning: overlapping comparisons always evaluate to false
[-Wtautological-overlap-compare]
1455 | if(noParams < 2 && noParams > 5)
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
1 warning generated.
Upstream pull request: https://github.com/nifty-site-manager/nsm/pull/39
- Make the choice of Lua implementation more intuitive.
- Run the strip command once for all binaries.
PR: 288379
MFH: 2025Q3
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
lang/luajit: update to v2.1
Disconnect lang/luajit-devel from the build, will be removed soon.
Bump PORTREVISIONs for the consumers.
Discussed with: adamw
PR: 225342
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above )
www/nift: fix build on powerpc
Use the ports luajit by default, since compiling luajit requires using gcc and
the build system for this port forces clang on FreeBSD.
www/nift: update to 2.3.12
* one liner fix of not reading terminal config string quoted
* added nsm config global/project command to open config file with configured
editor
* added improved mod fn from lolcat-cc to Lolcat.cpp
* added parameter option for lolcat.on to specify which lolcat command to use
PR: 254133
Submitted by: Mohammad S. Babaei <info AT babaei DOT net> (maintainer)
www/nift: Update to 2.3.9
From ChangeLog (https://github.com/nifty-site-manager/nsm/releases/tag/v2.3.9):
* added exprtk_disable_caseinsensitivity for ExprTk
* merged PR from Mamadou fixing support for compiling with Lua 5.2
and 5.1
* added !mf option to definitions
* added in types std::vector<double> and std::vector<string>
* added in std::vector. fns at, erase, pop_back, push_back, set, size
(also member fns)
* added in stream. fns close, open (also member fns)
* added in exprtk.compile, exprtk.eval, exprtk.load and exprtk.str fns
for f++/n++
* added in exprtk_compile, exprtk_eval, exprtk_load and exprtk_str fns
for Lua
* added in to_string fn for ExprTk
* fixed so that fn name/options/params are parsed with f++ always
* fixed various bugs
* made various improvements
PR: 246489
Submitted by: info@babaei.net (maintainer)
www/nift: Update to 2.2
- Update to 2.2
- Add files/patch-Makefile to use LuaJIT from ports
- Patch Makefile for localbase
PR: 244941
Submitted by: Mohammad S. Babaei (maintainer)
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D24298
New port: www/nift -- Cross-platform open source website generator
Nift (aka nsm) is a cross-platform open-source framework for managing and
generating websites. It's lightning-fast, developed from the ground
up in C++.
WWW: https://www.nift.cc
PR: 241572
Submitted by: Mohammad S. Babaei <info@babaei.net>