aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-10 04:49:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-10 04:49:17 +0800
commit9b9df8a922b072c33125794d451ed54711f1daf4 (patch)
tree863a8867d05a44289041ee10c60c25cbb07632dc
parentea06adf257e8b562b0e8305ff95a1e59e45f4a91 (diff)
downloadfreebsd-ports-gnome-9b9df8a922b072c33125794d451ed54711f1daf4.tar.gz
freebsd-ports-gnome-9b9df8a922b072c33125794d451ed54711f1daf4.tar.zst
freebsd-ports-gnome-9b9df8a922b072c33125794d451ed54711f1daf4.zip
- Clarify LICENSE
- Add LICENSE_FILE - Python is not needed for build - Add NO_ARCH - Switch to options helpers
-rw-r--r--audio/dir2ogg/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/dir2ogg/Makefile b/audio/dir2ogg/Makefile
index 549ea09cff5e..73351701b582 100644
--- a/audio/dir2ogg/Makefile
+++ b/audio/dir2ogg/Makefile
@@ -10,17 +10,19 @@ MASTER_SITES= http://jak-linux.org/projects/dir2ogg/${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line {wav,mp3,m4a} to ogg converter
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= faad:${PORTSDIR}/audio/faad \
mutagen-inspect:${PORTSDIR}/audio/py-mutagen \
mplayer:${PORTSDIR}/multimedia/mplayer \
oggenc:${PORTSDIR}/audio/vorbis-tools
-USES= python:2 shebangfix
+USES= python:2,run shebangfix
SHEBANG_FILES= ${PORTNAME}
NO_BUILD= yes
+NO_ARCH= yes
PORTDOCS= NEWS README
PLIST_FILES= bin/${PORTNAME} \
@@ -31,6 +33,8 @@ OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}