diff options
author | minskim <minskim@pkgsrc.org> | 2004-12-31 20:09:07 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-12-31 20:09:07 +0000 |
commit | 89d0effd2c54b1211af73f0c69a82ed8b91c7dbc (patch) | |
tree | c98732080569e346c30c5b0831143c0b526a6a33 /audio | |
parent | b0df097c607f5e3f56e4be953ba9e720a5ae7cd0 (diff) | |
download | pkgsrc-89d0effd2c54b1211af73f0c69a82ed8b91c7dbc.tar.gz |
Use REPLACE_PERL to simplify Makefile.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mp32ogg/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/mp32ogg/Makefile b/audio/mp32ogg/Makefile index 02cd436c0f8..cd4efb51265 100644 --- a/audio/mp32ogg/Makefile +++ b/audio/mp32ogg/Makefile @@ -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 @@ WRKSRC= ${WRKDIR} 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" |