Date: Sat, 5 Apr 2014 12:31:32 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350224 - head/audio/cmp3 Message-ID: <201404051231.s35CVWPn076084@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Apr 5 12:31:31 2014 New Revision: 350224 URL: http://svnweb.freebsd.org/changeset/ports/350224 QAT: https://qat.redports.org/buildarchive/r350224/ Log: Support stage Use options for vorbis support Build with gcc Modified: head/audio/cmp3/Makefile Modified: head/audio/cmp3/Makefile ============================================================================== --- head/audio/cmp3/Makefile Sat Apr 5 12:25:33 2014 (r350223) +++ head/audio/cmp3/Makefile Sat Apr 5 12:31:31 2014 (r350224) @@ -9,7 +9,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME} 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404051231.s35CVWPn076084>