aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-22 08:39:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-22 08:39:57 +0800
commit5ecdac39d6bf0c1056fcfe36fc1991a792b183dc (patch)
tree3805999b50fd3eb3ba82aec3dcbe89d833847e89 /audio
parentd8d83acdc37578c20b865e5b62a711a0050a1184 (diff)
downloadfreebsd-ports-gnome-5ecdac39d6bf0c1056fcfe36fc1991a792b183dc.tar.gz
freebsd-ports-gnome-5ecdac39d6bf0c1056fcfe36fc1991a792b183dc.tar.zst
freebsd-ports-gnome-5ecdac39d6bf0c1056fcfe36fc1991a792b183dc.zip
- Add LICENSE_FILE
- Pet portlint - Switch to options helpers
Diffstat (limited to 'audio')
-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}