pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
todotxt: Fill in the version (showed via `-v' option)
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Dec 18 00:11:48 2017 +0100
Changeset: 4da211d029a243203f54a364d26eaff5f4058f05
Modified Files:
todotxt/Makefile
Log Message:
todotxt: Fill in the version (showed via `-v' option)
Substitute @DEV_VERSION@ with ${PKGVERSION_NOREV} in todo.sh.
This is showed via `-v' option.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4da211d029a243203f54a364d26eaff5f4058f05
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
todotxt/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diffs:
diff --git a/todotxt/Makefile b/todotxt/Makefile
index 997c0891d4..6b06122dd6 100644
--- a/todotxt/Makefile
+++ b/todotxt/Makefile
@@ -15,10 +15,11 @@ USE_TOOLS+= bash:run gsed:run
SUBST_CLASSES+= todosh
SUBST_STAGE.todosh= pre-configure
-SUBST_MESSAGE.todosh= Adjusting hard-coded paths and use GNU sed
+SUBST_MESSAGE.todosh= Adjusting hard-coded paths, version and use GNU sed
SUBST_FILES.todosh+= todo.sh
SUBST_SED.todosh+= -e '/TODOTXT_GLOBAL_CFG_FILE=/ s,/etc/todo/config,${PKG_SYSCONFDIR}/todo.cfg,'
SUBST_SED.todosh+= -E -e 's,([(| ])sed ,\1${TOOLS_PATH.gsed} ,g'
+SUBST_SED.todosh+= -e 's,@DEV_VERSION@,${PKGVERSION_NOREV},g'
SUBST_CLASSES+= todocfg
SUBST_STAGE.todocfg= pre-configure
Home |
Main Index |
Thread Index |
Old Index