1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/graphics/swfdec/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

50 lines
1.2 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: swfdec
# Date created: Apr 5, 2003
# Whom: ijliao
#
# $FreeBSD$
# $MCom: ports/graphics/swfdec/Makefile,v 1.28 2009/01/01 13:38:17 kwm Exp $
PORTNAME= swfdec
PORTVERSION= 0.8.4
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.8/
MAINTAINER= kwm@FreeBSD.org
COMMENT= Flash Rendering Library
LIB_DEPENDS= oil-0.3.0:${PORTSDIR}/devel/liboil \
soup-2.4.1:${PORTSDIR}/devel/libsoup
USE_LDCONFIG= yes
USE_GNOME= gnomehack gtk20 ltverhack
USE_GSTREAMER= core good mp3 ffmpeg
USE_AUTOTOOLS= libtool:22
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib"
PLIST_SUB= VERSION=${PORTVERSION:R}
OPTIONS= PULSEAUDIO "Enable the PulseAudio sound module" off
.include <bsd.port.pre.mk>
.if defined(WITH_PULSEAUDIO)
LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
CONFIGURE_ARGS+= --with-audio=pulse
.else
CONFIGURE_ARGS+= --with-audio=oss
.endif
post-extract:
@${CP} ${FILESDIR}/swfdec_playback_oss.c \
${WRKSRC}/swfdec-gtk
post-patch:
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>