diff options
author | tv <tv> | 2005-01-18 22:20:08 +0000 |
---|---|---|
committer | tv <tv> | 2005-01-18 22:20:08 +0000 |
commit | 25198228c13ef62e328f3b48f854beeabd9ae9ec (patch) | |
tree | 7319200792e685559cde5f54cf0d5fa5bf71ef9e /textproc/awf/Makefile | |
parent | fad22b842abb01ea681f793bc728f7ca640a24c3 (diff) | |
download | pkgsrc-25198228c13ef62e328f3b48f854beeabd9ae9ec.tar.gz |
nb1: Mainly Interix fix, but to add portability: Kill explicit PATH
override, and allow overriding awk implementation with $AWK. Default it
to the value of ${AWK} in platform-specific pkgsrc config.
Diffstat (limited to 'textproc/awf/Makefile')
-rw-r--r-- | textproc/awf/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/textproc/awf/Makefile b/textproc/awf/Makefile index dbcdce031c0..417035fd831 100644 --- a/textproc/awf/Makefile +++ b/textproc/awf/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2005/01/18 22:10:29 tv Exp $ +# $NetBSD: Makefile,v 1.4 2005/01/18 22:20:08 tv Exp $ # DISTNAME= nroff-clone PKGNAME= awf-19900907 +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.scn.rain.com/pub/text/ EXTRACT_SUFX= .shar.Z @@ -14,10 +15,15 @@ COMMENT= Text formatter (nroff-clone) written in awk EXTRACT_CMD= ${DECOMPRESS_CMD.shar.Z} ${DOWNLOADED_DISTFILE} | ${SED} -e '1,/^\#!/d' | ${SH} WRKSRC= ${WRKDIR} +NO_BUILDLINK= # defined +NO_TOOLS= # defined +NO_WRAPPER= # defined + SUBST_CLASSES+= awflib -SUBST_MESSAGE.awflib= "Fixing awf library path." +SUBST_MESSAGE.awflib= "Fixing awf library path and awk pathname." SUBST_FILES.awflib= Makefile awf awf.1 -SUBST_SED.awflib= -e 's|/usr/lib/awf|${PREFIX}/share/awf|' -SUBST_STAGE.awflib= post-patch +SUBST_SED.awflib+= -e 's|/usr/lib/awf|${PREFIX}/share/awf|' +SUBST_SED.awflib+= -e 's|@AWK@|${AWK}|g' +SUBST_STAGE.awflib= pre-configure .include "../../mk/bsd.pkg.mk" |