aboutsummaryrefslogtreecommitdiff
path: root/audio/mp32ogg
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-27 16:06:25 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-27 16:06:25 +0000
commitb47325edb2d93a726b151ae81f7ecd3c183f0565 (patch)
treeaf6266e338105f6caa968f90afd0c4e98288d6f5 /audio/mp32ogg
parent413424ee99f55dc8d1d442dfc594daa157055a7b (diff)
downloadports-b47325edb2d93a726b151ae81f7ecd3c183f0565.tar.gz
ports-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@)
Notes
Notes: svn path=/head/; revision=323795
Diffstat (limited to 'audio/mp32ogg')
-rw-r--r--audio/mp32ogg/Makefile11
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