mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Support stage
Use options for vorbis support Build with gcc
This commit is contained in:
parent
b5027d723e
commit
3be24ea4ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350224
1 changed files with 10 additions and 14 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue