pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/mp32ogg Use REPLACE_PERL to simplify Makefile.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3788d834d5f4
branches:  trunk
changeset: 486675:3788d834d5f4
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Dec 31 20:09:07 2004 +0000

description:
Use REPLACE_PERL to simplify Makefile.

diffstat:

 audio/mp32ogg/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r 9859cf93ac50 -r 3788d834d5f4 audio/mp32ogg/Makefile
--- a/audio/mp32ogg/Makefile    Fri Dec 31 19:41:54 2004 +0000
+++ b/audio/mp32ogg/Makefile    Fri Dec 31 20:09:07 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/03/26 02:27:34 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2004/12/31 20:09:07 minskim Exp $
 
 DISTNAME=      mp32ogg-0.11
 PKGREVISION=   1
@@ -21,13 +21,12 @@
 EXTRACT_ONLY=  # empty
 NO_BUILD=      yes
 
+REPLACE_PERL=  ${WRKSRC}/${DISTNAME}
+
 do-extract:
        ${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC}
 
-post-patch:
-       ${SED} -e 's:/usr/bin:'${PREFIX}/bin':g' < ${WRKSRC}/${DISTNAME} > ${WRKSRC}/mp32ogg
-
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/mp32ogg ${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/mp32ogg
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index