diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-05-18 08:18:32 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2020-05-18 08:18:32 +0000 |
commit | c6d6461c24954b61e0f9a8a1d9725757c48993d0 (patch) | |
tree | 0b24fbc6be83e44800a9d5f8e3f0a2eadc5caf69 /www/nift | |
parent | be958b7d6ab6a32683f74592f7e4e24c18ca79be (diff) | |
download | ports-c6d6461c24954b61e0f9a8a1d9725757c48993d0.tar.gz ports-c6d6461c24954b61e0f9a8a1d9725757c48993d0.zip |
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)
Notes
Notes:
svn path=/head/; revision=535728
Diffstat (limited to 'www/nift')
-rw-r--r-- | www/nift/Makefile | 2 | ||||
-rw-r--r-- | www/nift/distinfo | 6 | ||||
-rw-r--r-- | www/nift/files/patch-Makefile | 32 |
3 files changed, 22 insertions, 18 deletions
diff --git a/www/nift/Makefile b/www/nift/Makefile index a71af8f70ddc..744dae4f7408 100644 --- a/www/nift/Makefile +++ b/www/nift/Makefile @@ -3,7 +3,7 @@ PORTNAME= nift DISTVERSIONPREFIX= v -DISTVERSION= 2.3.8 +DISTVERSION= 2.3.9 CATEGORIES= www MAINTAINER= info@babaei.net diff --git a/www/nift/distinfo b/www/nift/distinfo index 9c9ab633b2f6..71479144d3e7 100644 --- a/www/nift/distinfo +++ b/www/nift/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1588819821 -SHA256 (nifty-site-manager-nsm-v2.3.8_GH0.tar.gz) = 4bd42efbdbc05e121e7ee4ccf93640635dd4ee32532232f5e5a9e59f11238ad9 -SIZE (nifty-site-manager-nsm-v2.3.8_GH0.tar.gz) = 1602629 +TIMESTAMP = 1589558824 +SHA256 (nifty-site-manager-nsm-v2.3.9_GH0.tar.gz) = afc5fe6011be31e3eb05c46f0dbe7de62365d4bca51310619d9add0e99ae91fa +SIZE (nifty-site-manager-nsm-v2.3.9_GH0.tar.gz) = 1605558 diff --git a/www/nift/files/patch-Makefile b/www/nift/files/patch-Makefile index 87e4d2f3f123..9e9b2da566c0 100644 --- a/www/nift/files/patch-Makefile +++ b/www/nift/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2020-05-07 03:06:00 UTC +--- Makefile.orig 2020-05-15 16:07:18 UTC +++ Makefile @@ -3,7 +3,7 @@ objects=nsm.o ConsoleColor.o DateTimeInfo.o Directory. cppfiles=nsm.cpp ConsoleColor.cpp DateTimeInfo.cpp Directory.cpp Expr.cpp ExprtkFns.cpp Filename.cpp FileSystem.cpp Getline.cpp GitInfo.cpp hashtk/HashTk.cpp Lolcat.cpp LuaFns.cpp Lua.cpp NumFns.cpp Pagination.cpp Parser.cpp Path.cpp ProjectInfo.cpp Quoted.cpp StrFns.cpp SystemInfo.cpp Title.cpp TrackedInfo.cpp Variables.cpp WatchList.cpp @@ -9,7 +9,7 @@ BINDIR=${DESTDIR}${PREFIX}/bin LIBDIR=${DESTDIR}${PREFIX}/lib -@@ -79,42 +79,58 @@ ifeq ($(BUNDLED),0) +@@ -79,58 +79,58 @@ ifeq ($(BUNDLED),0) else ifeq ($(LUA_VERSION),x) ifeq ($(detected_OS),FreeBSD) # FreeBSD CXXFLAGS+= -D__LUA_VERSION_x__ @@ -40,22 +40,26 @@ - LINK+= -L/usr/local/lib -llua-5.3 -ldl + LINK+= -L%%LOCALBASE%%/lib -llua-5.3 -ldl endif -+ else ifeq ($(LUA_VERSION),5.2) -+ ifeq ($(detected_OS),FreeBSD) # FreeBSD -+ CXXFLAGS+= -D__LUA_VERSION_5_2__ + else ifeq ($(LUA_VERSION),5.2) + ifeq ($(detected_OS),FreeBSD) # FreeBSD + CXXFLAGS+= -D__LUA_VERSION_5_2__ +- LINK+= -L/usr/local/lib -llua-5.2 -lm -ldl + LINK+= -L%%LOCALBASE%%/lib -llua-5.2 -lm -ldl -+ else # *nix -+ CXXFLAGS+= -D__LUA_VERSION_5_2__ + else # *nix + CXXFLAGS+= -D__LUA_VERSION_5_2__ +- LINK+= -L/usr/local/lib -llua-5.2 -ldl + LINK+= -L%%LOCALBASE%%/lib -llua-5.2 -ldl -+ endif -+ else ifeq ($(LUA_VERSION),5.1) -+ ifeq ($(detected_OS),FreeBSD) # FreeBSD -+ CXXFLAGS+= -D__LUA_VERSION_5_1__ + endif + else ifeq ($(LUA_VERSION),5.1) + ifeq ($(detected_OS),FreeBSD) # FreeBSD + CXXFLAGS+= -D__LUA_VERSION_5_1__ +- LINK+= -L/usr/local/lib -llua-5.1 -lm -ldl + LINK+= -L%%LOCALBASE%%/lib -llua-5.1 -lm -ldl -+ else # *nix -+ CXXFLAGS+= -D__LUA_VERSION_5_1__ + else # *nix + CXXFLAGS+= -D__LUA_VERSION_5_1__ +- LINK+= -L/usr/local/lib -llua-5.1 -ldl + LINK+= -L%%LOCALBASE%%/lib -llua-5.1 -ldl -+ endif + endif else ifeq ($(LUAJIT_VERSION),2.0) ifeq ($(detected_OS),FreeBSD) # FreeBSD CXXFLAGS+= -D__LUAJIT_VERSION_2_0__ |