1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/graphics/gnash-devel/Makefile
Alex Dupre 9b389e718b Update the port to a current snapshot.
The firefox plugin now actually works, though it's quite unstable.

PR:		ports/95605
Submitted by:	maintainer
2006-04-22 13:52:03 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: gnash
# Date created: 12 Jan 2006
# Whom: Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#
PORTNAME= gnash
PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ale
DISTNAME= ${PORTNAME}-20060422
MAINTAINER= amdmi3@mail.ru
COMMENT= GNU Flash movie player
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
ogg.5:${PORTSDIR}/audio/libogg \
gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
USE_BZIP2= yes
USE_GL= yes
USE_GMAKE= yes
USE_GNOME= gnomehier gtk20 glib20 atk pango pkgconfig libxml2
USE_SDL= sdl mixer
USE_X_PREFIX= yes
USE_GCC= 3.4+
USE_AUTOTOOLS= aclocal:19 autoheader:259 automake:19 autoconf:259
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I ${WRKSRC}/macros
PLUGIN_DIR= ${PREFIX}/lib/browser_plugins
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -Wl,--rpath,${PREFIX}/lib/gnash"
CONFIGURE_ARGS= --libdir="${PREFIX}/lib/gnash" \
--with-plugindir=${PLUGIN_DIR}
WRKSRC= ${WRKDIR}/${PORTNAME}-20060422
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/macros/*.m4
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/macros/*.m4
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/macros/*.m4
.include <bsd.port.mk>