diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-12-06 11:38:19 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-12-06 11:38:19 +0000 |
commit | b17b53dc8e583cdf15aa1f3ae609d744e2cce357 (patch) | |
tree | 555081b2fb5c41657ee3f23bba4dfdd954cbed5e /textproc | |
parent | fd61cb92740bc60c6a0ab08b35c0aa84934f97c1 (diff) | |
download | pkgsrc-b17b53dc8e583cdf15aa1f3ae609d744e2cce357.tar.gz |
Add PKGGNUDIR support.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/grep/Makefile | 14 | ||||
-rw-r--r-- | textproc/gsed/Makefile | 6 |
2 files changed, 12 insertions, 8 deletions
diff --git a/textproc/grep/Makefile b/textproc/grep/Makefile index 14ed0f16b59..8240ff48c4b 100644 --- a/textproc/grep/Makefile +++ b/textproc/grep/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2012/10/25 06:55:51 asau Exp $ +# $NetBSD: Makefile,v 1.32 2012/12/06 11:43:24 jperkin Exp $ DISTNAME= grep-2.14 PKGREVISION= 1 @@ -22,12 +22,14 @@ TEXINFO_REQD= 4.0 INSTALLATION_DIRS= gnu/bin gnu/man/man1 +.include "../../mk/bsd.prefs.mk" + post-install: -.for g n in bin/ggrep gnu/bin/grep bin/gegrep gnu/bin/egrep \ - bin/gfgrep gnu/bin/fgrep \ - man/man1/ggrep.1 gnu/man/man1/grep.1 \ - man/man1/ggrep.1 gnu/man/man1/egrep.1 \ - man/man1/ggrep.1 gnu/man/man1/fgrep.1 +.for g n in bin/ggrep ${PKGGNUDIR}bin/grep bin/gegrep ${PKGGNUDIR}bin/egrep \ + bin/gfgrep ${PKGGNUDIR}bin/fgrep \ + man/man1/ggrep.1 ${PKGGNUDIR}${PKGMANDIR}/man1/grep.1 \ + man/man1/ggrep.1 ${PKGGNUDIR}${PKGMANDIR}/man1/egrep.1 \ + man/man1/ggrep.1 ${PKGGNUDIR}${PKGMANDIR}/man1/fgrep.1 ${LN} -sf ${PREFIX}/${g} ${DESTDIR}${PREFIX}/${n} .endfor diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile index 076571a800d..1abf532fb6f 100644 --- a/textproc/gsed/Makefile +++ b/textproc/gsed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.41 2012/10/25 06:55:52 asau Exp $ +# $NetBSD: Makefile,v 1.42 2012/12/06 11:43:24 jperkin Exp $ # DISTNAME= sed-4.2.1 @@ -26,8 +26,10 @@ USE_TOOLS+= grep makeinfo CONFIGURE_ARGS+= --program-prefix=g +.include "../../mk/bsd.prefs.mk" + post-install: -.for g n in bin/gsed gnu/bin/sed man/man1/gsed.1 gnu/man/man1/sed.1 +.for g n in bin/gsed ${PKGGNUDIR}bin/sed ${PKGMANDIR}/man1/gsed.1 ${PKGGNUDIR}${PKGMANDIR}/man1/sed.1 ${LN} -sf ${PREFIX}/${g} ${DESTDIR}${PREFIX}/${n} .endfor |