summaryrefslogtreecommitdiffstats
path: root/audio/audex/Makefile
blob: b6056fdd8f7036f5b635d4f574416496aacc4b7c (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# New ports collection makefile for:	audex
# Date Created:				2009-05-20
# Whom:					Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	audex
DISTVERSION=	0.74b1
PORTREVISION=	4
CATEGORIES=	audio kde
MASTER_SITES=	http://kde.maniatek.com/${PORTNAME}/files/

MAINTAINER=	bsdkaffee@gmail.com
COMMENT=	Audio CD ripping utility for KDE4

LIB_DEPENDS=	cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia \
		kcddb.5:${PORTSDIR}/multimedia/kdemultimedia4

USE_XZ=		yes
USE_CMAKE=	yes
USE_KDE4=	automoc4 kdeprefix kdelibs
USE_QT_VER=	4
QT_COMPONENTS=	gui dbus network svg xml \
		qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE=	yes

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENCE

OPTIONS=	NLS "Native language support" on \
		FAAC "Depend on audio/faac for m4a encoding" off \
		FLAC "Depend on audio/flac for flac encoding" on \
		LAME "Depend on audio/lame for mp3 encoding" off \
		EYED3 "Depend on audio/py-eyed3 for Unicode mp3 tags" off \
		OGG "Depend on audio/vorbis-tools for ogg encoding" on

.include <bsd.port.options.mk>

.if defined(WITHOUT_NLS)
CMAKE_ARGS+=	-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
PLIST_SUB+=	NLS="@comment "
.else
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.endif

.if defined(WITH_FAAC)
RUN_DEPENDS+=	faac:${PORTSDIR}/audio/faac
.endif

.if defined(WITH_FLAC)
RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
.endif

.if defined(WITH_LAME)
RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame
.endif

.if defined(WITH_EYED3)
RUN_DEPENDS+=	eyeD3:${PORTSDIR}/audio/py-eyed3
.endif

.if defined(WITH_OGG)
RUN_DEPENDS+=	oggenc:${PORTSDIR}/audio/vorbis-tools
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud