aboutsummaryrefslogtreecommitdiff
path: root/multimedia/iso2mkv/Makefile
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-28 13:02:11 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-28 13:02:11 +0000
commit690350db26308df65364cc8dce8ff80b38e7bfd6 (patch)
tree401d2905d2d1b9c95ab63a287404aacb397bc5ab /multimedia/iso2mkv/Makefile
parent9e31d96f4e54b76636b9e1d027d9bf0af13f3d5d (diff)
downloadports-690350db26308df65364cc8dce8ff80b38e7bfd6.tar.gz
ports-690350db26308df65364cc8dce8ff80b38e7bfd6.zip
Notes
Diffstat (limited to 'multimedia/iso2mkv/Makefile')
-rw-r--r--multimedia/iso2mkv/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/multimedia/iso2mkv/Makefile b/multimedia/iso2mkv/Makefile
index 2916413364f7..b22f2d778ee7 100644
--- a/multimedia/iso2mkv/Makefile
+++ b/multimedia/iso2mkv/Makefile
@@ -21,18 +21,17 @@ RUN_DEPENDS= lame:audio/lame \
dvdxchap:multimedia/ogmtools \
bash:shells/bash
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-USES= tar:bzip2
-NO_BUILD= yes
+USES= shebangfix tar:bzip2
+SHEBANG_FILES= iso2mkv
NO_ARCH= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e \
- 's|^#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \
- s|normalize-audio|normalize| ; \
+ 's|normalize-audio|normalize| ; \
s|stat -c %s|stat -f %z|' ${WRKSRC}/iso2mkv
do-install:
@@ -40,7 +39,7 @@ do-install:
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README.utf8.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.utf8.txt ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}