svn commit: r350224 - head/audio/cmp3
Baptiste Daroussin
bapt at FreeBSD.org
Sat Apr 5 14:13:01 UTC 2014
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 at 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>
More information about the svn-ports-all
mailing list