summaryrefslogtreecommitdiff
path: root/audio/rip
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-10-22 15:05:18 +0000
committersnj <snj@pkgsrc.org>2004-10-22 15:05:18 +0000
commit2e4ee7957f747b7750c59333ffcf28c2f6537d8b (patch)
treedcfa9d75981e7ad878f1db8b32dc24c91aa2ba8c /audio/rip
parente556463a15528936cebf5f6e2619110384936acc (diff)
downloadpkgsrc-2e4ee7957f747b7750c59333ffcf28c2f6537d8b.tar.gz
Substitute custom post-patch with REPLACE_PERL. From Leonarch Schmidt
in PR pkg/27320.
Diffstat (limited to 'audio/rip')
-rw-r--r--audio/rip/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/rip/Makefile b/audio/rip/Makefile
index 165e04249bf..50ef6779897 100644
--- a/audio/rip/Makefile
+++ b/audio/rip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/10/19 03:13:11 ben Exp $
+# $NetBSD: Makefile,v 1.2 2004/10/22 15:05:18 snj Exp $
#
DISTNAME= rip-1.07
@@ -15,13 +15,11 @@ DEPENDS+= p5-MP3-Info>=1.00:../../audio/p5-MP3-Info
NO_BUILDLINK= yes
USE_PERL5= yes
NO_BUILD= # defined
+REPLACE_PERL= rip
DOCFILES= BUGS CHANGELOG COPYING FAQ INSTALLING README
DOCDIR= ${PREFIX}/share/doc/rip
-post-patch:
- ${PERL5} -pi -ne "s|#!/usr/bin/perl|#!${PERL5}|" ${WRKSRC}/rip
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rip ${PREFIX}/bin/rip
${INSTALL_DATA_DIR} ${DOCDIR}