1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

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)
This commit is contained in:
Fernando Apesteguía 2020-05-18 08:18:32 +00:00
parent be958b7d6a
commit c6d6461c24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535728
3 changed files with 22 additions and 18 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= nift
DISTVERSIONPREFIX= v
DISTVERSION= 2.3.8
DISTVERSION= 2.3.9
CATEGORIES= www
MAINTAINER= info@babaei.net

View File

@ -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

View File

@ -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__