pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/nsm www/nsm: Update to 1.21
details: https://anonhg.NetBSD.org/pkgsrc/rev/74314423f9c8
branches: trunk
changeset: 405499:74314423f9c8
user: ng0 <ng0%pkgsrc.org@localhost>
date: Fri Nov 29 22:03:38 2019 +0000
description:
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
diffstat:
www/nsm/Makefile | 18 +++++++++++++++---
www/nsm/distinfo | 10 +++++-----
2 files changed, 20 insertions(+), 8 deletions(-)
diffs (48 lines):
diff -r a067086db669 -r 74314423f9c8 www/nsm/Makefile
--- a/www/nsm/Makefile Fri Nov 29 20:58:01 2019 +0000
+++ b/www/nsm/Makefile Fri Nov 29 22:03:38 2019 +0000
@@ -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 @@
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"
diff -r a067086db669 -r 74314423f9c8 www/nsm/distinfo
--- a/www/nsm/distinfo Fri Nov 29 20:58:01 2019 +0000
+++ b/www/nsm/distinfo Fri Nov 29 22:03:38 2019 +0000
@@ -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