pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/nsm



Module Name:    pkgsrc
Committed By:   nikita
Date:           Mon Mar  8 08:44:28 UTC 2021

Modified Files:
        pkgsrc/www/nsm: Makefile

Log Message:
re-assign maint


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/nsm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/nsm/Makefile
diff -u pkgsrc/www/nsm/Makefile:1.7 pkgsrc/www/nsm/Makefile:1.8
--- pkgsrc/www/nsm/Makefile:1.7 Thu Jan  9 11:28:37 2020
+++ pkgsrc/www/nsm/Makefile     Mon Mar  8 08:44:28 2021
@@ -1,16 +1,17 @@
-# $NetBSD: Makefile,v 1.7 2020/01/09 11:28:37 ng0 Exp $
+# $NetBSD: Makefile,v 1.8 2021/03/08 08:44:28 nikita Exp $
 
-DISTNAME=      nsm-2.0.1
+DISTNAME=      nsm-2.3.10
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nifty-site-manager/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
-MAINTAINER=    ng0%NetBSD.org@localhost
-HOMEPAGE=      https://www.nift.cc/
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://nift.dev/
 COMMENT=       Cross-platform git- and LaTeX-like command-line website manager
 LICENSE=       mit
 
-USE_LANGUAGES=         c++
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            gmake
 INSTALLATION_DIRS=     bin
 
 # Avoid building 2 binaries with the exact same content
@@ -22,9 +23,20 @@ SUBST_CLASSES+=              nift
 SUBST_STAGE.nift=      pre-configure
 SUBST_FILES.nift=      Makefile
 SUBST_SED.nift=                -e '/nift/ s,^,\#,g'
+SUBST_SED.nift+=       -e 's,/usr/local/lib,${PREFIX}/lib,g'
+SUBST_SED.nift+=       -e 's,CXXFLAGS=-std=c++11,CXXFLAGS+=-std=c++11,g'
+SUBST_SED.nift+=       -e 's,LINK=,LDFLAGS+=,g'
+SUBST_SED.nift+=       -e 's,LINK+=,LDFLAGS+=,g'
+
+MAKE_ENV+=     BUNDLED=0
+MAKE_ENV+=     LUA_VERSION=5.3
+DL_AUTO_VARS=  yes
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${LN} -s nsm nift
 
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../lang/lua53/buildlink3.mk"
+.include "../../lang/LuaJIT2/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index