summaryrefslogtreecommitdiff
path: root/audio/kaudiocreator/Makefile
blob: 99ad1c67d45d14a5b75c77a16c2c5b2b7b996da2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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:audio/libdiscid \
		libtag.so:audio/taglib
RUN_DEPENDS=	flac:audio/flac \
		oggenc:audio/vorbis-tools
.if !defined(PACKAGE_BUILDING)
RUN_DEPENDS+=	lame: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

post-patch-NLS-off:
	${REINPLACE_CMD} 's,add_subdirectory(po),,' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>