diff options
author | wiz <wiz@pkgsrc.org> | 2002-12-22 01:42:16 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-12-22 01:42:16 +0000 |
commit | efda627f0ac18d85f706261777fde72f6f4724ec (patch) | |
tree | 9bc983032728a03b8c175687033bfdf2406bc8e8 | |
parent | 22c7f3381184c80235dd81cc43e573da9fd32e10 (diff) | |
download | pkgsrc-efda627f0ac18d85f706261777fde72f6f4724ec.tar.gz |
Use GNU_PROGRAM_PREFIX, based on a patch by Jeremy C. Reed.
-rw-r--r-- | archivers/gsharutils/Makefile | 15 | ||||
-rw-r--r-- | archivers/gsharutils/PLIST | 16 |
2 files changed, 19 insertions, 12 deletions
diff --git a/archivers/gsharutils/Makefile b/archivers/gsharutils/Makefile index 3bef7754668..60eb1c403b3 100644 --- a/archivers/gsharutils/Makefile +++ b/archivers/gsharutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2002/11/30 11:16:17 salo Exp $ +# $NetBSD: Makefile,v 1.13 2002/12/22 01:42:16 wiz Exp $ DISTNAME= sharutils-4.2.1 PKGNAME= g${DISTNAME} @@ -15,13 +15,20 @@ USE_BUILDLINK2= yes USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --program-prefix=g -CONFIGURE_ARGS+= --disable-uucode - INSTALL_TARGET= install install-man INFO_FILES= remsync.info sharutils.info TEXINFO_OVERRIDE= YES +CONFIGURE_ARGS+= --disable-uucode + +.include "../../mk/bsd.prefs.mk" + +.if defined(GNU_PROGRAM_PREFIX) +CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX} +.endif +PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX} +BUILD_DEFS+= GNU_PROGRAM_PREFIX + post-patch: @${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/po/sharutils.pot diff --git a/archivers/gsharutils/PLIST b/archivers/gsharutils/PLIST index bd8fa7f8578..e43fed7fa3c 100644 --- a/archivers/gsharutils/PLIST +++ b/archivers/gsharutils/PLIST @@ -1,17 +1,17 @@ -@comment $NetBSD: PLIST,v 1.2 2002/02/18 15:14:01 seb Exp $ -bin/gmail-files -bin/gmailshar -bin/gremsync -bin/gshar -bin/gunshar +@comment $NetBSD: PLIST,v 1.3 2002/12/22 01:42:16 wiz Exp $ +bin/${GNU_PROGRAM_PREFIX}mail-files +bin/${GNU_PROGRAM_PREFIX}mailshar +bin/${GNU_PROGRAM_PREFIX}remsync +bin/${GNU_PROGRAM_PREFIX}shar +bin/${GNU_PROGRAM_PREFIX}unshar @unexec ${INSTALL_INFO} --delete %D/info/sharutils.info %D/info/dir @unexec ${INSTALL_INFO} --delete %D/info/remsync.info %D/info/dir info/sharutils.info info/remsync.info @exec ${INSTALL_INFO} %D/info/sharutils.info %D/info/dir @exec ${INSTALL_INFO} %D/info/remsync.info %D/info/dir -man/man1/gshar.1 -man/man1/gunshar.1 +man/man1/${GNU_PROGRAM_PREFIX}shar.1 +man/man1/${GNU_PROGRAM_PREFIX}unshar.1 ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/sharutils.mo ${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/sharutils.mo ${PKGLOCALEDIR}/locale/ja_JP.EUC/LC_MESSAGES/sharutils.mo |