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:   ng0
Date:           Fri Nov 29 22:03:38 UTC 2019

Modified Files:
        pkgsrc/www/nsm: Makefile distinfo

Log Message:
www/nsm: Update to 1.21

Changelog picked from https://github.com/nifty-site-manager/nsm/releases:

Nift (aka nsm) v1.21
Release Notes:
    removed trailing '/' or '\' from @contentdir and @sitedir output
    fixed bugs with @contentdir, @sitedir, @contentext syntax
    fixed indenting when parsing parameters
    added more error handling with Nift commands new-[cont/page]-ext
    added file input syntax @RawContent, @inputraw, @scriptraw, @systemraw to template language
    added user input syntax @userin, @userfilein to template language


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/nsm/Makefile pkgsrc/www/nsm/distinfo

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.2 pkgsrc/www/nsm/Makefile:1.3
--- pkgsrc/www/nsm/Makefile:1.2 Tue Nov 26 18:32:29 2019
+++ pkgsrc/www/nsm/Makefile     Fri Nov 29 22:03:38 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2019/11/26 18:32:29 ng0 Exp $
+# $NetBSD: Makefile,v 1.3 2019/11/29 22:03:38 ng0 Exp $
 
-DISTNAME=      nsm-1.20
+DISTNAME=      nsm-1.21
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nifty-site-manager/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -12,7 +12,19 @@ LICENSE=     mit
 
 USE_LANGUAGES=         c++
 INSTALLATION_DIRS=     bin
-BUILD_TARGET=          nsm
+
+# Avoid building 2 binaries with the exact same content
+# where we can symlink instead. This safes 50 percent
+# of the binary size and some double computation.
+# closed upstream ticket:
+# https://github.com/nifty-site-manager/nsm/issues/2
+SUBST_CLASSES+=                nift
+SUBST_STAGE.nift=      pre-configure
+SUBST_FILES.nift=      Makefile
+SUBST_SED.nift=                -e '/nift/ s,^,\#,g'
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${LN} -s nsm nift
 
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/nsm/distinfo
diff -u pkgsrc/www/nsm/distinfo:1.2 pkgsrc/www/nsm/distinfo:1.3
--- pkgsrc/www/nsm/distinfo:1.2 Tue Nov 26 18:32:29 2019
+++ pkgsrc/www/nsm/distinfo     Fri Nov 29 22:03:38 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2019/11/26 18:32:29 ng0 Exp $
+$NetBSD: distinfo,v 1.3 2019/11/29 22:03:38 ng0 Exp $
 
-SHA1 (nsm-1.20.tar.gz) = 80988b78c96ff44521c280f808a563f9d3603732
-RMD160 (nsm-1.20.tar.gz) = fba7c59414550658ca2444a8056688af971e6b72
-SHA512 (nsm-1.20.tar.gz) = 0964b920dde598795dde7f3fe96480b27c73e66f5fc0d9a73603c231b6a56e3676b4de33b92a0862833f3af26c12bdca8f79dee3f852397e12c4e9cb03ffc29b
-Size (nsm-1.20.tar.gz) = 34184 bytes
+SHA1 (nsm-1.21.tar.gz) = 56965387526f2bf75a6f8600d7dd7bfc55e70b9a
+RMD160 (nsm-1.21.tar.gz) = ce64012ce214b91850bb4d21120cecaecaf79a33
+SHA512 (nsm-1.21.tar.gz) = 17307b78b5b084237c5a5b8f93dc53be0c36d74f6bd8d43902bc56a310f97c129e74fa3f79e178d66328af4efb5fd6e62753e2a0ff1bd35762e99bbbcd5d0002
+Size (nsm-1.21.tar.gz) = 35080 bytes



Home | Main Index | Thread Index | Old Index