diff options
author | wiz <wiz@pkgsrc.org> | 2002-12-25 17:51:23 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-12-25 17:51:23 +0000 |
commit | 9fe706fe684a763eec49fe103238a0d801bd9964 (patch) | |
tree | c21be31f437196689661ad52e5e16c017695deef /textproc | |
parent | 63f8d78c9ef7dfed954347bdc41cf61834dee511 (diff) | |
download | pkgsrc-9fe706fe684a763eec49fe103238a0d801bd9964.tar.gz |
Honor GNU_PROGRAM_PREFIX. Patch by Jeremy C. Reed.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/gsed/Makefile | 12 | ||||
-rw-r--r-- | textproc/gsed/PLIST | 6 |
2 files changed, 13 insertions, 5 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile index ac43bc48abb..67956e6a869 100644 --- a/textproc/gsed/Makefile +++ b/textproc/gsed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2002/08/25 21:51:15 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2002/12/25 18:10:59 wiz Exp $ # DISTNAME= sed-3.02 @@ -12,9 +12,17 @@ COMMENT= GNU version of sed USE_BUILDLINK2= YES GNU_CONFIGURE= YES -CONFIGURE_ARGS= --program-prefix=g + INFO_FILES= sed.info AUTOMAKE_PATTERNS+= sed.info version.texi stamp-vti +.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 + .include "../../mk/texinfo.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/gsed/PLIST b/textproc/gsed/PLIST index 311527a3fb5..489ebe69521 100644 --- a/textproc/gsed/PLIST +++ b/textproc/gsed/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.2 2002/02/18 15:14:43 seb Exp $ -bin/gsed -man/man1/gsed.1 +@comment $NetBSD: PLIST,v 1.3 2002/12/25 18:10:59 wiz Exp $ +bin/${GNU_PROGRAM_PREFIX}sed +man/man1/${GNU_PROGRAM_PREFIX}sed.1 @unexec ${INSTALL_INFO} --delete %D/info/sed.info %D/info/dir info/sed.info @exec ${INSTALL_INFO} %D/info/sed.info %D/info/dir |