diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-05-29 20:52:55 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-05-29 20:52:55 +0000 |
commit | 0897ce698da63b47033a0645972e7cb65c3a7ac1 (patch) | |
tree | da8b5d88a0a7815d8019ca094b53e00a7d681324 /archivers | |
parent | 6ba2026e236d54132167cecd633d8d09dc388d47 (diff) | |
download | pkgsrc-0897ce698da63b47033a0645972e7cb65c3a7ac1.tar.gz |
Remove GNU_PROGRAM_PREFIX variable (discussed in pkgsrc-users@).
All utilities are installed with a prefix 'g'. Symlinks with original
names are created in ${PREFIX}/gnu/bin.
++pkgrevision
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gsharutils/Makefile | 18 | ||||
-rw-r--r-- | archivers/gsharutils/PLIST | 12 |
2 files changed, 17 insertions, 13 deletions
diff --git a/archivers/gsharutils/Makefile b/archivers/gsharutils/Makefile index 5da0d890a26..3450b8c575f 100644 --- a/archivers/gsharutils/Makefile +++ b/archivers/gsharutils/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.45 2011/11/19 18:59:20 marino Exp $ +# $NetBSD: Makefile,v 1.46 2012/05/29 20:52:55 cheusov Exp $ DISTNAME= sharutils-4.11.1 +PKGREVISION= 1 PKGNAME= g${DISTNAME} CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_GNU:=sharutils/} @@ -13,6 +14,8 @@ LICENSE= gnu-gpl-v3 PKG_INSTALLATION_TYPES= overwrite pkgviews PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= gnu/bin + USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes @@ -21,15 +24,14 @@ INFO_FILES= yes USE_TOOLS+= makeinfo msgfmt sh:run CONFIGURE_ARGS+= --disable-uucode -CONFIGURE_ENV+= SH=${TOOLS_SH:Q} +CONFIGURE_ENV+= SH=${TOOLS_SH} -.include "../../mk/bsd.prefs.mk" +CONFIGURE_ARGS+= --program-prefix=g -.if defined(GNU_PROGRAM_PREFIX) -CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q} -.endif -PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q} -BUILD_DEFS+= GNU_PROGRAM_PREFIX +post-install: + set -e; cd ${DESTDIR}${PREFIX}/gnu/bin; \ + ln -s ../../bin/gshar shar; \ + ln -s ../../bin/gunshar unshar .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/gsharutils/PLIST b/archivers/gsharutils/PLIST index c220e59c4e9..df47af03e46 100644 --- a/archivers/gsharutils/PLIST +++ b/archivers/gsharutils/PLIST @@ -1,9 +1,11 @@ -@comment $NetBSD: PLIST,v 1.8 2011/11/19 18:59:20 marino Exp $ -bin/${GNU_PROGRAM_PREFIX}shar -bin/${GNU_PROGRAM_PREFIX}unshar +@comment $NetBSD: PLIST,v 1.9 2012/05/29 20:52:55 cheusov Exp $ +bin/gshar +bin/gunshar +gnu/bin/shar +gnu/bin/unshar info/sharutils.info -man/man1/${GNU_PROGRAM_PREFIX}shar.1 -man/man1/${GNU_PROGRAM_PREFIX}unshar.1 +man/man1/gshar.1 +man/man1/gunshar.1 share/locale/bg/LC_MESSAGES/sharutils.mo share/locale/ca/LC_MESSAGES/sharutils.mo share/locale/cs/LC_MESSAGES/sharutils.mo |