diff options
author | sbd <sbd@pkgsrc.org> | 2011-12-29 22:30:47 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2011-12-29 22:30:47 +0000 |
commit | e0e2499eca60601f883e107b3c85df0e47f28b36 (patch) | |
tree | 550fffb63ddc4fc9abc20914691e6c09a65c471e /textproc | |
parent | 180385e91aff5fc704ea1efe3de3d477a620b08c (diff) | |
download | pkgsrc-e0e2499eca60601f883e107b3c85df0e47f28b36.tar.gz |
Make sure that the gsed package always has a 'gsed' executable.
Bump PKGREVISION
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/gsed/Makefile | 13 | ||||
-rw-r--r-- | textproc/gsed/PLIST | 4 |
2 files changed, 14 insertions, 3 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile index 14e870cc695..da0d595b8c2 100644 --- a/textproc/gsed/Makefile +++ b/textproc/gsed/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.37 2011/04/22 13:44:50 obache Exp $ +# $NetBSD: Makefile,v 1.38 2011/12/29 22:30:47 sbd Exp $ # DISTNAME= sed-4.2.1 PKGNAME= g${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= textproc editors MASTER_SITES= ${MASTER_SITE_GNU:=sed/} @@ -31,5 +31,14 @@ CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q} PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q} BUILD_DEFS+= GNU_PROGRAM_PREFIX +PLIST_VARS= gsed +.if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g" +PLIST.gsed= yes + +post-install: + ${LN} -f ${DESTDIR}${PREFIX}/bin/${GNU_PROGRAM_PREFIX}sed ${DESTDIR}${PREFIX}/bin/gsed + ${LN} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${GNU_PROGRAM_PREFIX}sed.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gsed.1 +.endif + .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/gsed/PLIST b/textproc/gsed/PLIST index 21f06709a28..01a971a2c7c 100644 --- a/textproc/gsed/PLIST +++ b/textproc/gsed/PLIST @@ -1,7 +1,9 @@ -@comment $NetBSD: PLIST,v 1.12 2009/08/08 21:26:49 wiz Exp $ +@comment $NetBSD: PLIST,v 1.13 2011/12/29 22:30:47 sbd Exp $ bin/${GNU_PROGRAM_PREFIX}sed +${PLIST.gsed}bin/gsed info/sed.info man/man1/${GNU_PROGRAM_PREFIX}sed.1 +${PLIST.gsed}man/man1/gsed.1 share/locale/af/LC_MESSAGES/sed.mo share/locale/ca/LC_MESSAGES/sed.mo share/locale/cs/LC_MESSAGES/sed.mo |