pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/nsm re-assign maint



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ce4f83c9186
branches:  trunk
changeset: 448445:3ce4f83c9186
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Mon Mar 08 08:44:28 2021 +0000

description:
re-assign maint

diffstat:

 www/nsm/Makefile |  22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r ca214ce325e5 -r 3ce4f83c9186 www/nsm/Makefile
--- a/www/nsm/Makefile  Mon Mar 08 08:13:43 2021 +0000
+++ b/www/nsm/Makefile  Mon Mar 08 08:44:28 2021 +0000
@@ -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_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