diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-05 20:31:31 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-05 20:31:31 +0800 |
commit | 4ed19f1c121392a3055c14c0f8ca34e92a34fc1a (patch) | |
tree | bb2de98253bea5f0696cba03b3677e9d1a96e1ad /audio | |
parent | ea26fe3469fc83f236d71a94d3cb20d13135d644 (diff) | |
download | freebsd-ports-graphics-4ed19f1c121392a3055c14c0f8ca34e92a34fc1a.tar.gz freebsd-ports-graphics-4ed19f1c121392a3055c14c0f8ca34e92a34fc1a.tar.zst freebsd-ports-graphics-4ed19f1c121392a3055c14c0f8ca34e92a34fc1a.zip |
Support stage
Use options for vorbis support
Build with gcc
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cmp3/Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile index 36de97d9812..97128fc7077 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> |