aboutsummaryrefslogtreecommitdiff
path: root/audio/kaudiocreator
diff options
context:
space:
mode:
authorDavid Naylor <dbn@FreeBSD.org>2013-11-07 15:29:22 +0000
committerDavid Naylor <dbn@FreeBSD.org>2013-11-07 15:29:22 +0000
commitf97f39eb6cab77ee5d0a321e5a41c652f2124364 (patch)
tree61bfa34c6f47af17178a3ad05c99f7047ea19408 /audio/kaudiocreator
parentc5e7e9d7ae8c78d05689f690732632594cdf6d25 (diff)
downloadports-f97f39eb6cab77ee5d0a321e5a41c652f2124364.tar.gz
ports-f97f39eb6cab77ee5d0a321e5a41c652f2124364.zip
Notes
Diffstat (limited to 'audio/kaudiocreator')
-rw-r--r--audio/kaudiocreator/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/audio/kaudiocreator/Makefile b/audio/kaudiocreator/Makefile
index 8b49b2ff9bb6..adc1f28dedea 100644
--- a/audio/kaudiocreator/Makefile
+++ b/audio/kaudiocreator/Makefile
@@ -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>