diff options
author | mef <mef@pkgsrc.org> | 2014-12-20 23:51:52 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2014-12-20 23:51:52 +0000 |
commit | 08ffaa964669274402ae7e4b1e88c38a7baabd96 (patch) | |
tree | 5a4e4d78639c318785091942b151e779c423d7c3 /misc | |
parent | eb9dd11d72b4a76af6f612fe075ad21f2c3ff6f5 (diff) | |
download | pkgsrc-08ffaa964669274402ae7e4b1e88c38a7baabd96.tar.gz |
Correct the error on previous commit.
(1) ${PREFIX} handling was not correct
(2) It is said ascii.cgi is deleted in ChangeLog, it was not taken care
properly.
3.14: 2013-11-27
ascii.cgi deleted: the <isindex> it relies on is archaic and nonconformant.
Thanks joerg@ for review.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ascii/Makefile | 9 | ||||
-rw-r--r-- | misc/ascii/PLIST | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/misc/ascii/Makefile b/misc/ascii/Makefile index 2db7c381872..3ee7f6879fd 100644 --- a/misc/ascii/Makefile +++ b/misc/ascii/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2014/12/13 01:05:44 mef Exp $ +# $NetBSD: Makefile,v 1.15 2014/12/20 23:51:52 mef Exp $ # DISTNAME= ascii-3.14 @@ -16,8 +16,13 @@ USE_LIBTOOL= yes BUILD_TARGET= ascii EGDIR= ${PREFIX}/share/examples/${PKGBASE} +SUBST_CLASSES+= prefix +SUBST_MESSAGE.prefix= Install PATH to ${PREFIX} +SUBST_FILES.prefix= Makefile +SUBST_STAGE.prefix= post-patch +SUBST_SED.prefix= -e '/PREFIX/s,/usr,${PREFIX},' + post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/ascii.cgi ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" diff --git a/misc/ascii/PLIST b/misc/ascii/PLIST index 8de1258bcb6..7ba652524ad 100644 --- a/misc/ascii/PLIST +++ b/misc/ascii/PLIST @@ -1,4 +1,3 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:07:18 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2014/12/20 23:51:52 mef Exp $ bin/ascii man/man1/ascii.1 -share/examples/ascii/ascii.cgi |