Add stage support to audio/kaudiocreator.

- Convert LIB_DEPENDS to new format.
This commit is contained in:
David Naylor 2013-11-07 15:29:22 +00:00
parent c5e7e9d7ae
commit f97f39eb6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333118

View file

@ -13,8 +13,8 @@ COMMENT= Audio-cd ripper and encoder for KDE4
LICENSE= GPLv2 LICENSE= GPLv2
LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid \ LIB_DEPENDS= libdiscid.so:${PORTSDIR}/audio/libdiscid \
tag:${PORTSDIR}/audio/taglib libtag.so:${PORTSDIR}/audio/taglib
RUN_DEPENDS= flac:${PORTSDIR}/audio/flac \ RUN_DEPENDS= flac:${PORTSDIR}/audio/flac \
oggenc:${PORTSDIR}/audio/vorbis-tools oggenc:${PORTSDIR}/audio/vorbis-tools
.if !defined(PACKAGE_BUILDING) .if !defined(PACKAGE_BUILDING)
@ -22,7 +22,6 @@ RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
.endif .endif
USE_BZIP2= yes USE_BZIP2= yes
NO_STAGE= yes
USES= cmake USES= cmake
USE_QT4= moc_build qmake_build rcc_build uic_build USE_QT4= moc_build qmake_build rcc_build uic_build
USE_KDE4= automoc4 kdehier kdeprefix libkcddb libkcompactdisc USE_KDE4= automoc4 kdehier kdeprefix libkcddb libkcompactdisc
@ -30,18 +29,14 @@ USE_KDE4= automoc4 kdehier kdeprefix libkcddb libkcompactdisc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= NLS OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS} .if empty(PORT_OPTIONS:MNLS)
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
post-patch: post-patch:
${REINPLACE_CMD} 's,add_subdirectory(po),,' ${WRKSRC}/CMakeLists.txt ${REINPLACE_CMD} 's,add_subdirectory(po),,' ${WRKSRC}/CMakeLists.txt
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>