1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/multimedia/kdemultimedia3/Makefile
Michael Nottebrock 1160fd7012 Update to KDE 3.5.5 / KOffice 1.6.1
Approved by:	portmgr
2006-12-19 21:19:54 +00:00

82 lines
2.1 KiB
Makefile

# -*-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}
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 \
akode:${PORTSDIR}/audio/akode \
FLAC:${PORTSDIR}/audio/flac \
cdda_paranoia:${PORTSDIR}/audio/cdparanoia \
ogg:${PORTSDIR}/audio/libogg \
tag:${PORTSDIR}/audio/taglib \
vorbis:${PORTSDIR}/audio/libvorbis
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
MAKE_ENV= ${CONFIGURE_ENV}
CONFIGURE_ARGS+= --with-vorbis="${LOCALBASE}" --disable-xinetest
CONFIGURE_ENV+= AKODE_CONFIG=${LOCALBASE}/bin/akode-config
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
DO_NOT_COMPILE+=akode juk mpeglib mpeglib_artsplug xine_artsplugin
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 ${OSVERSION} > 500035
LIB_DEPENDS+= theora:${PORTSDIR}/multimedia/libtheora
PLIST_SUB+= THEORA=""
#.else
#PLIST_SUB+= THEORA="@comment "
#.endif
.if !defined(WITHOUT_AKODE)
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode.so:${PORTSDIR}/audio/akode
.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
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>