summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2001-10-26 13:57:58 +0000
committerskrll <skrll@pkgsrc.org>2001-10-26 13:57:58 +0000
commit9f28ffc95eb2a823929bb7a8d76e25aeff7c9805 (patch)
tree3c6c7291aa6b651de1582a2fd38fee2322e3821e /x11
parent460b06f7ea470a37459c69e81cbc583c59b12318 (diff)
downloadpkgsrc-9f28ffc95eb2a823929bb7a8d76e25aeff7c9805.tar.gz
Update REPLACE_PERL to work for /bin/perl and use it in kdelibs2 instead
of home grown post-patch target.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs2/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/x11/kdelibs2/Makefile b/x11/kdelibs2/Makefile
index 9cc0d327555..e0d2f17aa60 100644
--- a/x11/kdelibs2/Makefile
+++ b/x11/kdelibs2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/10/15 22:46:21 skrll Exp $
+# $NetBSD: Makefile,v 1.18 2001/10/26 13:57:59 skrll Exp $
#
DISTNAME= kdelibs-2.2.1
@@ -33,16 +33,10 @@ MKDIRS= \
# share/kde/icons/locolor/22x22/filesystems \
# share/kde/icons/locolor/22x22/actions/kde \
-PERLSCRIPTS= \
+REPLACE_PERL= \
${WRKSRC}/kio/proxytype.pl \
${WRKSRC}/kio/useragent.pl
-post-extract:
- for f in ${PERLSCRIPTS}; do \
- ${SED} -e "s:^\#\!.*perl$$:\#\!${LOCALBASE}/bin/perl:" $$f > $$f.new; \
- ${MV} $$f.new $$f; \
- done
-
post-install:
for d in ${MKDIRS}; do \
${INSTALL_DATA_DIR} ${PREFIX}/$$d; \