aboutsummaryrefslogtreecommitdiff
path: root/audio/cmp3
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-22 00:39:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-22 00:39:57 +0000
commitc664a6a84cb0bd4b449ada6476796700737c771c (patch)
tree3805999b50fd3eb3ba82aec3dcbe89d833847e89 /audio/cmp3
parentf1f581a883f238e55df6e40fd4c09f4bfd5cb492 (diff)
downloadports-c664a6a84cb0bd4b449ada6476796700737c771c.tar.gz
ports-c664a6a84cb0bd4b449ada6476796700737c771c.zip
- Add LICENSE_FILE
- Pet portlint - Switch to options helpers
Notes
Notes: svn path=/head/; revision=402207
Diffstat (limited to 'audio/cmp3')
-rw-r--r--audio/cmp3/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile
index c613c200914d..80bd01d30e1d 100644
--- a/audio/cmp3/Makefile
+++ b/audio/cmp3/Makefile
@@ -11,13 +11,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Ncurses based frontend to mpg123
-OPTIONS_DEFINE= DOCS VORBIS
-OPTIONS_DEFAULT= VORBIS
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
-LICENSE= GPLv2
-
WRKSRC= ${WRKDIR}/${PORTNAME}-kenrevs
USES= gmake ncurses
@@ -27,9 +25,12 @@ MAKE_ARGS= install_directory=${STAGEDIR}${PREFIX}/bin
PORTDOCS= README sample.cmp3rc
PLIST_FILES= bin/cmp3 bin/rnmp3
+OPTIONS_DEFINE= DOCS VORBIS
+OPTIONS_DEFAULT= VORBIS
+
VORBIS_RUN_DEPENDS= ogg123:${PORTSDIR}/audio/vorbis-tools
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}