aboutsummaryrefslogtreecommitdiff
path: root/audio/cmp3
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-05 12:31:31 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-05 12:31:31 +0000
commit3be24ea4ecb2d955da4c9939f9ea678a3d129e67 (patch)
treebb2de98253bea5f0696cba03b3677e9d1a96e1ad /audio/cmp3
parentb5027d723e34b24792317b6bc90f1adbdbf82d21 (diff)
downloadports-3be24ea4ecb2d955da4c9939f9ea678a3d129e67.tar.gz
ports-3be24ea4ecb2d955da4c9939f9ea678a3d129e67.zip
Notes
Diffstat (limited to 'audio/cmp3')
-rw-r--r--audio/cmp3/Makefile24
1 files changed, 10 insertions, 14 deletions
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile
index 36de97d98123..97128fc7077a 100644
--- a/audio/cmp3/Makefile
+++ b/audio/cmp3/Makefile
@@ -9,7 +9,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.0-pre6
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/}
MAINTAINER= sylvio@FreeBSD.org
-COMMENT= An ncurses based frontend to mpg123
+COMMENT= Ncurses based frontend to mpg123
+
+OPTIONS_DEFINE= DOCS VORBIS
+OPTIONS_DEFAULT= VORBIS
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
@@ -17,27 +20,20 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}-kenrevs
-USES= gmake
-NO_STAGE= yes
+USES= gmake ncurses
GNU_CONFIGURE= yes
+USE_GCC= any
+MAKE_ARGS= install_directory=${STAGEDIR}${PREFIX}/bin
PORTDOCS= README sample.cmp3rc
PLIST_FILES= bin/cmp3 bin/rnmp3
-.if !defined(WITHOUT_VORBIS)
-RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools
-.endif
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+VORBIS_RUN_DEPENDS= ogg123:${PORTSDIR}/audio/vorbis-tools
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>