diff options
author | Andrej Zverev <az@FreeBSD.org> | 2013-07-28 00:06:25 +0800 |
---|---|---|
committer | Andrej Zverev <az@FreeBSD.org> | 2013-07-28 00:06:25 +0800 |
commit | b47325edb2d93a726b151ae81f7ecd3c183f0565 (patch) | |
tree | af6266e338105f6caa968f90afd0c4e98288d6f5 /audio/mp32ogg | |
parent | 413424ee99f55dc8d1d442dfc594daa157055a7b (diff) | |
download | freebsd-ports-gnome-b47325edb2d93a726b151ae81f7ecd3c183f0565.tar.gz freebsd-ports-gnome-b47325edb2d93a726b151ae81f7ecd3c183f0565.tar.zst freebsd-ports-gnome-b47325edb2d93a726b151ae81f7ecd3c183f0565.zip |
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore.
- trim Makefile header
Approved by: bapt@ (portmrg@)
Diffstat (limited to 'audio/mp32ogg')
-rw-r--r-- | audio/mp32ogg/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/audio/mp32ogg/Makefile b/audio/mp32ogg/Makefile index 14b75a822c18..43a027fbfbf1 100644 --- a/audio/mp32ogg/Makefile +++ b/audio/mp32ogg/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: mp32ogg -# Date created: Nov 4, 2001 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= mp32ogg PORTVERSION= 0.11 @@ -24,6 +19,8 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 \ p5-String-ShellQuote>=0:${PORTSDIR}/textproc/p5-String-ShellQuote USE_PERL5= yes +USES= shebangfix +SHEBANG_FILES= mp32ogg NO_WRKSUBDIR= yes EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= # @@ -32,7 +29,7 @@ NO_BUILD= yes PLIST_FILES= bin/mp32ogg post-patch: - @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/mp32ogg + @${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/mp32ogg do-install: ${INSTALL_SCRIPT} ${WRKSRC}/mp32ogg ${PREFIX}/bin |