aboutsummaryrefslogtreecommitdiff
path: root/audio/dir2ogg
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-10-04 23:54:47 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-10-04 23:54:47 +0000
commitd02a5eeba62a259287699a161ec0c8dfc44cae45 (patch)
tree424efa150f96b8ea58c7c3ac1f2f119c51da4de0 /audio/dir2ogg
parentdf6c543cb879fbe811b4f9f66acf23e2268a88ca (diff)
downloadports-d02a5eeba62a259287699a161ec0c8dfc44cae45.tar.gz
ports-d02a5eeba62a259287699a161ec0c8dfc44cae45.zip
Notes
Diffstat (limited to 'audio/dir2ogg')
-rw-r--r--audio/dir2ogg/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/audio/dir2ogg/Makefile b/audio/dir2ogg/Makefile
index b58dc28940fa..7e1b5e0a650c 100644
--- a/audio/dir2ogg/Makefile
+++ b/audio/dir2ogg/Makefile
@@ -11,12 +11,16 @@ MASTER_SITE_SUBDIR= ${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line {wav,mp3,m4a} to ogg converter
+LICENSE= GPLv2
+
RUN_DEPENDS= faad:${PORTSDIR}/audio/faad \
mutagen-inspect:${PORTSDIR}/audio/py-mutagen \
mplayer:${PORTSDIR}/multimedia/mplayer \
oggenc:${PORTSDIR}/audio/vorbis-tools
-USE_PYTHON= yes
+USES= python:2 shebangfix
+
+SHEBANG_FILES= ${PORTNAME}
NO_BUILD= yes
PORTDOCS= NEWS README
@@ -25,16 +29,10 @@ PLIST_FILES= bin/${PORTNAME} \
OPTIONS_DEFINE= DOCS
-post-patch:
- @${REINPLACE_CMD} -e \
- '/^#!/s|/.*python|${SETENV} python|g' ${WRKSRC}/${PORTNAME}
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>