2011-06-02 13:09:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.44 2011/06/02 17:09:32 kili Exp $
|
2009-09-28 14:32:02 -04:00
|
|
|
|
2006-09-21 11:48:10 -04:00
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2010-10-12 05:38:16 -04:00
|
|
|
ONLY_FOR_ARCHS= ${GCC4_ARCHS}
|
2008-06-28 11:46:33 -04:00
|
|
|
|
2010-10-12 05:38:16 -04:00
|
|
|
COMMENT= SWF player with Firefox browser plugin
|
2006-11-19 23:06:41 -05:00
|
|
|
|
2011-03-23 12:20:02 -04:00
|
|
|
VER= 0.8.9
|
2010-10-12 05:38:16 -04:00
|
|
|
DISTNAME= gnash-${VER}
|
2011-04-03 11:02:11 -04:00
|
|
|
REVISION= 1
|
2011-03-27 06:42:24 -04:00
|
|
|
EPOCH= 0
|
2006-09-21 11:48:10 -04:00
|
|
|
CATEGORIES= www
|
2010-10-12 05:38:16 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gnash/${VER}/}
|
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
HOMEPAGE= http://gnashdev.org
|
2006-09-21 11:48:10 -04:00
|
|
|
|
2010-10-12 05:38:16 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
2006-09-21 11:48:10 -04:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2007-08-09 18:08:19 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2006-09-21 11:48:10 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-03-23 12:20:02 -04:00
|
|
|
WANTLIB= SDL X11 agg avcodec avformat avutil boost_program_options-mt \
|
|
|
|
boost_thread-mt c curl freetype fontconfig gdk_pixbuf-2.0 \
|
|
|
|
gdk-x11-2.0 gif glib-2.0 gobject-2.0 gtk-x11-2.0 jpeg ltdl m \
|
|
|
|
glib-2.0 gobject-2.0 gtk-x11-2.0 png pthread speex speexdsp \
|
|
|
|
stdc++ swscale z
|
2006-09-21 19:14:48 -04:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
MODULES= devel/gettext
|
2011-03-23 12:20:02 -04:00
|
|
|
BUILD_DEPENDS= devel/xulrunner/1.9,-devel
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
2011-04-03 11:02:11 -04:00
|
|
|
LIB_DEPENDS= audio/speex \
|
2010-11-22 03:36:47 -05:00
|
|
|
devel/boost \
|
2011-03-23 12:20:02 -04:00
|
|
|
devel/libtool,-ltdl \
|
2010-11-22 03:36:47 -05:00
|
|
|
devel/sdl \
|
|
|
|
graphics/agg \
|
|
|
|
graphics/ffmpeg \
|
|
|
|
graphics/jpeg \
|
|
|
|
graphics/libungif \
|
|
|
|
graphics/png \
|
|
|
|
net/curl \
|
|
|
|
x11/gtk+2
|
2006-09-21 11:48:10 -04:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
USE_GMAKE= Yes
|
2011-03-23 12:20:02 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2008-06-28 11:46:33 -04:00
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
2011-04-03 11:02:11 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2011-04-15 17:43:13 -04:00
|
|
|
AUTOCONF_VERSION= 2.67
|
2011-03-25 05:45:17 -04:00
|
|
|
CONFIGURE_ARGS= --disable-cygnal \
|
2010-10-12 05:38:16 -04:00
|
|
|
--disable-jemalloc \
|
2006-11-19 23:06:41 -05:00
|
|
|
--enable-renderer=agg \
|
|
|
|
--enable-gui=gtk \
|
2010-10-12 05:38:16 -04:00
|
|
|
--enable-media=ffmpeg \
|
|
|
|
--with-npapi-plugindir=${LOCALBASE}/lib/mozilla/plugins
|
2011-03-25 05:45:17 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2010-10-12 05:38:16 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2008-06-28 11:46:33 -04:00
|
|
|
|
|
|
|
INSTALL_TARGET= install install-plugins
|
|
|
|
|
2010-12-03 02:27:02 -05:00
|
|
|
# testsuite available at http://www.gnashdev.org/testcases/
|
|
|
|
NO_REGRESS= Yes
|
2008-06-28 11:46:33 -04:00
|
|
|
|
|
|
|
SUBST_VARS= VER
|
2006-09-21 11:48:10 -04:00
|
|
|
|
2010-10-12 05:38:16 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnash
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libbase/{gnashpluginrc,gnashrc} \
|
|
|
|
${PREFIX}/share/examples/gnash
|
|
|
|
|
2006-09-21 11:48:10 -04:00
|
|
|
.include <bsd.port.mk>
|