blob: 0aaa94103f5045b42638c2d20866eb221fdd2056 (
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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# -*-mode: makefile-*-
# New ports collection makefile for: KDE3 Multimedia
# Date created: Saturday 7 December 2002
# Whom: Alan Eldridge <alane@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= kdemultimedia
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 1
CATEGORIES= multimedia kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Multimedia utilities for the KDE integrated X11 desktop
CONFLICTS= juk-1*
LIB_DEPENDS+= audiofile:${PORTSDIR}/audio/libaudiofile \
FLAC:${PORTSDIR}/audio/flac \
cdda_paranoia:${PORTSDIR}/audio/cdparanoia \
ogg:${PORTSDIR}/audio/libogg \
tag:${PORTSDIR}/audio/taglib \
theora:${PORTSDIR}/multimedia/libtheora \
vorbis:${PORTSDIR}/audio/libvorbis
RUN_DEPENDS= oggenc:${PORTSDIR}/audio/vorbis-tools
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:261:env libtool:15
MAKE_ENV= ${CONFIGURE_ENV}
CONFIGURE_ARGS+= --with-vorbis="${LOCALBASE}" --disable-xinetest
CONFIGURE_ENV+= AKODE_CONFIG=${LOCALBASE}/bin/akode-config
USE_LDCONFIG= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
DO_NOT_COMPILE+=akode juk mpeglib mpeglib_artsplug xine_artsplugin
# short-circuit auto frameworks rebuilds
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
OPTIONS= AKODE "Use akode for audio playback" on \
MPEGLIB "Use mpeglib for audio playback" off \
XINE "Enable support for video playback using libxine" off
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_AKODE)
LIB_DEPENDS+= akode:${PORTSDIR}/audio/akode
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode.so:${PORTSDIR}/audio/akode
.else
DO_NOT_COMPILE+=akode_artsplugin
.endif
.if defined(WITH_XINE)
RUN_DEPENDS+= ${LOCALBASE}/lib/libarts_xine.la:${PORTSDIR}/multimedia/xine_artsplugin
.endif
.if defined(WITH_MPEGLIB)
RUN_DEPENDS+= mpeglibartsplay:${PORTSDIR}/audio/mpeglib_artsplug
.endif
.if defined(DO_NOT_COMPILE)
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
.endif # defined(DO_NOT_COMPILE)
pre-configure:
${REINPLACE_CMD} -e "s,applications-merged,kde-applications-merged,g" \
${WRKSRC}/kappfinder-data/Makefile.in
@cd ${CONFIGURE_WRKSRC} \
&& ${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF} ${AUTOCONF_ARGS}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|