pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/rip Substitute custom post-patch with REPLACE_PE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d6b78fac9d5
branches:  trunk
changeset: 482223:6d6b78fac9d5
user:      snj <snj%pkgsrc.org@localhost>
date:      Fri Oct 22 15:05:18 2004 +0000

description:
Substitute custom post-patch with REPLACE_PERL.  From Leonarch Schmidt
in PR pkg/27320.

diffstat:

 audio/rip/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r a32f1ce82795 -r 6d6b78fac9d5 audio/rip/Makefile
--- a/audio/rip/Makefile        Fri Oct 22 14:47:43 2004 +0000
+++ b/audio/rip/Makefile        Fri Oct 22 15:05:18 2004 +0000
@@ -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 @@
 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}



Home | Main Index | Thread Index | Old Index