freebsd-ports/audio/kaudiocreator/Makefile
Max Brazhnikov b22224f636 - Remove deprecated USE_KDE4=kdehier
- while here, remove any reference to KDE in deskutils/charmtimetracker (Qt-only app)
  and supposedly fix build of graphics/gnash with KDE4 option
2015-02-19 18:19:28 +00:00

41 lines
1,002 B
Makefile

# Created by: David Naylor <naylor.b.david@gmail.com>
# $FreeBSD$
PORTNAME= kaudiocreator
PORTVERSION= 1.3
PORTREVISION= 4
CATEGORIES= audio kde
MASTER_SITES= http://kde-look.org/CONTENT/content-files/
DISTNAME= 107645-${PORTNAME}-${PORTVERSION}
MAINTAINER= dbn@FreeBSD.org
COMMENT= Audio-cd ripper and encoder for KDE4
LICENSE= GPLv2
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)
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
.endif
USES= cmake tar:bzip2
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_KDE4= automoc4 kdeprefix libkcddb libkcompactdisc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MNLS)
post-patch:
${REINPLACE_CMD} 's,add_subdirectory(po),,' ${WRKSRC}/CMakeLists.txt
.endif
.include <bsd.port.mk>