summaryrefslogtreecommitdiffstats
path: root/audio/juk/Makefile
blob: 6ade85d220071c76853c27f511564641e5b01402 (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
69
# New ports collection makefile for:	mpeglib_artsplug
# Date created:				July 09 2004
# Whom:					Michael Nottebrock <lofi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	juk
PORTVERSION=	${KDE_VERSION}
PORTREVISION=	7
CATEGORIES=	audio kde
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	stable/${PORTVERSION:S/.0//}/src
PKGNAMEPREFIX=	kdemultimedia-
DISTNAME=	kdemultimedia-${PORTVERSION}
DIST_SUBDIR=	KDE

MAINTAINER=	ports@FreeBSD.org
COMMENT=	KDE audio player

LIB_DEPENDS=	akode:${PORTSDIR}/audio/akode \
		tag:${PORTSDIR}/audio/taglib

DEPRECATED=	Depends on QT3; unmaintained
EXPIRATION_DATE=	2013-07-01

CONFLICTS=	kdemultimedia-3.3*

OPTIONS_DEFINE=	GSTREAMER

USE_KDELIBS_VER=3
PREFIX=		${KDE_PREFIX}

USE_BZIP2=	yes
USE_AUTOTOOLS=	libtool
USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/kdemultimedia-${PORTVERSION}
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--without-musicbrainz

WANT_GSTREAMER=	yes

.include <bsd.port.pre.mk>

.if  ${PORT_OPTIONS:MGSTREAMER} || exists(${LOCALBASE}/lib/libgstreamer-0.10.so)
GSTREAMER_OVERRIDE=yes
USE_GSTREAMER=	yes
.endif


pre-everything::
.if defined(GSTREAMER_OVERRIDE)
	@${ECHO_MSG}
	@${ECHO_MSG} "*********************************************************"
	@${ECHO_MSG} "* gstreamer is installed and support has been enabled   *"
	@${ECHO_MSG} "* automatically (no additional files will be installed) *"
	@${ECHO_MSG} "*********************************************************"
	@${ECHO_MSG}
.endif

do-build:
	cd ${WRKSRC}/arts/runtime && ${SETENV} ${MAKE_ENV} ${GMAKE}
	cd ${WRKSRC}/juk && ${SETENV} ${MAKE_ENV} ${GMAKE}

do-install:
	cd ${WRKSRC}/juk && ${SETENV} ${MAKE_ENV} ${GMAKE} install

.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud