pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/memo
Module Name: pkgsrc
Committed By: khorben
Date: Sat Sep 15 16:17:10 UTC 2018
Modified Files:
pkgsrc/time/memo: Makefile
Log Message:
Simplify the handling of the bash interpreter
This may change the dependency on bash this time, so it bumps PKGREVISION.
Also a suggestion from leot@, thanks!
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/time/memo/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/time/memo/Makefile
diff -u pkgsrc/time/memo/Makefile:1.2 pkgsrc/time/memo/Makefile:1.3
--- pkgsrc/time/memo/Makefile:1.2 Sat Sep 15 15:51:14 2018
+++ pkgsrc/time/memo/Makefile Sat Sep 15 16:17:10 2018
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2018/09/15 15:51:14 khorben Exp $
+# $NetBSD: Makefile,v 1.3 2018/09/15 16:17:10 khorben Exp $
GITHUB_PROJECT= memo
DISTNAME= 0.6
PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= time
MASTER_SITES= ${MASTER_SITE_GITHUB:=mrVanDalo/}
DIST_SUBDIR= ${GITHUB_PROJECT}
@@ -11,20 +12,17 @@ MAINTAINER= khorben%defora.org@localhost
HOMEPAGE= https://github.com/mrVanDalo/memo/
COMMENT= A simple memo tool written in bash
LICENSE= gnu-gpl-v3
-WRKSRC= ${WRKDIR}/${PKGNAME}
+WRKSRC= ${WRKDIR}/memo-${DISTNAME}
USE_LANGUAGES= # none
+USE_TOOLS+= bash:run
-DEPENDS+= bash-[0-9]*:../../shells/bash
DEPENDS+= git-base-[0-9]*:../../devel/git-base
NO_BUILD= yes
INSTALLATION_DIRS= bin share/doc/memo
-REPLACE_INTERPRETER+= envbash
-REPLACE.envbash.old= '/bin/bash'
-REPLACE.envbash.new= ${PREFIX}/bin/bash
-REPLACE_FILES.envbash= memo
+REPLACE_BASH+= memo
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/memo ${DESTDIR}${PREFIX}/bin/memo
Home |
Main Index |
Thread Index |
Old Index