summaryrefslogtreecommitdiff
path: root/audio/xmpeg3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmpeg3/Makefile')
-rw-r--r--audio/xmpeg3/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/xmpeg3/Makefile b/audio/xmpeg3/Makefile
index dc2f29ba3e2a..09168e28322a 100644
--- a/audio/xmpeg3/Makefile
+++ b/audio/xmpeg3/Makefile
@@ -17,11 +17,13 @@ MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= amp:${PORTSDIR}/audio/amp \
wish8.2:${PORTSDIR}/x11-toolkits/tk82
+USE_REINPLACE= yes
+
WRKSRC= ${WRKDIR}/xmpeg3
NO_BUILD= yes
post-patch:
- @/usr/bin/perl -pi -e "s|\@\@PREFIX\@\@|${PREFIX}|;" ${WRKSRC}/xmpeg3
+ @${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|' ${WRKSRC}/xmpeg3
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/xmpeg3 ${PREFIX}/bin