freebsd-ports/multimedia/kaffeine/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

62 lines
1.6 KiB
Makefile

# New ports collection makefile for: kaffeine
# Date created: 2003-06-25
# Whom: arved
#
# $FreeBSD$
PORTNAME= kaffeine
PORTVERSION= 0.8.7
PORTREVISION= 4
CATEGORIES= multimedia kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kaffeine
MAINTAINER= arved@FreeBSD.org
COMMENT= A xine-base multimedia player
LIB_DEPENDS= xine.1:${PORTSDIR}/multimedia/libxine \
cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia \
xcb.2:${PORTSDIR}/x11/libxcb
USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_GMAKE= yes
USE_GETTEXT= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:22
CONFIGURE_ENV= CXXFLAGS="${CFLAGS} -I${WRKSRC}" CFLAGS="${CFLAGS} -I${WRKSRC}"
DVB_HEADERS= ca.h dmx.h frontend.h net.h audio.h video.h
.ifdef (WITH_GSTREAMER)
USE_GSTREAMER= yes
PLIST_SUB+= NOGSTREAMER=""
.else
PLIST_SUB+= NOGSTREAMER="@comment "
.endif
.ifdef (WITH_LAME)
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
PLIST_SUB+= NOLAME=""
.else
CONFIGURE_ARGS+= --without-lame
PLIST_SUB+= NOLAME="@comment "
.endif
.include <bsd.port.pre.mk>
.ifndef (WITH_GSTREAMER)
CONFIGURE_ARGS+= --without-gstreamer
.endif
post-patch:
${REINPLACE_CMD} -e "s,xx,," ${WRKSRC}/po/Makefile.in
${REINPLACE_CMD} "s,#include <endian.h>,," \
${WRKSRC}/kaffeine/src/input/disc/paranoia.cpp
${REINPLACE_CMD} "s,#include <linux/types.h>,," \
${WRKSRC}/kaffeine/src/input/dvb/lib/libdvbapi/dvbvideo.c
${MKDIR} ${WRKSRC}/linux/dvb
cd ${FILESDIR}; ${CP} ${DVB_HEADERS} ${WRKSRC}/linux/dvb
${REINPLACE_CMD} -e "s,^LIBTOOL=,#LIBTOOL=,; \
s,-0.8.6,," ${WRKSRC}/configure
${TOUCH} -t 200401230000 ${WRKSRC}/admin/acinclude.m4.in
.include <bsd.port.post.mk>