summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoragc <agc>1998-06-11 11:32:40 +0000
committeragc <agc>1998-06-11 11:32:40 +0000
commit814595d337daa7e4e394e278c75c78f97fd2dfec (patch)
treee707ba22543ecc9358e154a9b2502968d37e4c35 /devel
parent5b55bcf2c89df443088ad161184e9c81eb3ae4be (diff)
downloadpkgsrc-814595d337daa7e4e394e278c75c78f97fd2dfec.tar.gz
Clean up a bit.
Diffstat (limited to 'devel')
-rw-r--r--devel/portlint/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/devel/portlint/Makefile b/devel/portlint/Makefile
index 423cb0cc3b2..f5eb08c64f2 100644
--- a/devel/portlint/Makefile
+++ b/devel/portlint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/05/05 14:39:39 frueauf Exp $
+# $NetBSD: Makefile,v 1.3 1998/06/11 11:32:40 agc Exp $
#
DISTNAME= portlint-1.64
@@ -17,22 +17,22 @@ EXTRACT_AFTER_ARGS= |sh
NO_WRKSUBDIR= yes
NO_CONFIGURE= yes
-MAKE_ENV= PORTSDIR=${.CURDIR}/../..
+MAKE_ENV= PKGSRCDIR=${.CURDIR}/../..
MAN1= portlint.1
do-build:
- ${CAT} ${WRKSRC}/portlint.pl | \
- ${SED} s/@PREFIX@/${PREFIX:S/\//\\\\\//g}/g | \
- ${SED} s/@PORTSDIR@/${PORTSDIR:S/\//\\\\\//g}/g \
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
+ -e 's|@PORTSDIR@|${PKGSRCDIR}|g' \
+ < ${WRKSRC}/portlint.pl \
> ${WRKSRC}/portlint
- ${CAT} ${WRKSRC}/lintpkgsrc.sh | \
- ${SED} s/@PREFIX@/${PREFIX:S/\//\\\\\//g}/g | \
- ${SED} s/@PORTSDIR@/${PORTSDIR:S/\//\\\\\//g}/g \
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
+ -e 's|@PORTSDIR@|${PKGSRCDIR}|g' \
+ < ${WRKSRC}/lintpkgsrc.sh \
> ${WRKSRC}/lintpkgsrc
- ${CAT} ${WRKSRC}/plist-clash.pl | \
- ${SED} s/@PREFIX@/${PREFIX:S/\//\\\\\//g}/g | \
- ${SED} s/@PORTSDIR@/${PORTSDIR:S/\//\\\\\//g}/g \
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
+ -e 's|@PORTSDIR@|${PKGSRCDIR}|g' \
+ < ${WRKSRC}/plist-clash.pl \
> ${WRKSRC}/plist-clash
do-install: