summaryrefslogtreecommitdiff
path: root/audio
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
commit8d04c7da120f1fde93ada15e04c3f9216063accc (patch)
treedcfa9d75981e7ad878f1db8b32dc24c91aa2ba8c /audio
parent6a55756b47d9c6f2c1c9447e3f04031b83f9b8f1 (diff)
downloadpkgsrc-8d04c7da120f1fde93ada15e04c3f9216063accc.tar.gz
Substitute custom post-patch with REPLACE_PERL. From Leonarch Schmidt
in PR pkg/27320.
Diffstat (limited to 'audio')
-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}