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