2009-10-14 08:51:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2009/10/14 12:51:45 ajacoutot Exp $
|
2009-09-28 14:32:02 -04:00
|
|
|
|
2006-09-21 11:48:10 -04:00
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= flash player with firefox browser plugin
|
2008-06-28 11:46:33 -04:00
|
|
|
|
|
|
|
VER= 0.8.3
|
|
|
|
DISTNAME= gnash-${VER}
|
2009-10-14 08:51:45 -04:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2006-11-19 23:06:41 -05:00
|
|
|
|
2006-09-21 11:48:10 -04:00
|
|
|
CATEGORIES= www
|
2008-06-28 11:46:33 -04:00
|
|
|
MASTER_SITES= http://getgnash.org/packages/releases/
|
2006-09-21 11:48:10 -04:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
HOMEPAGE= http://gnashdev.org
|
2006-09-21 11:48:10 -04:00
|
|
|
|
2006-12-08 10:40:26 -05:00
|
|
|
MAINTAINER= Deanna Phillips <deanna@openbsd.org>
|
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
|
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
WANTLIB= c crypto expat freetype fontconfig \
|
|
|
|
glib-2.0 gobject-2.0 gthread-2.0 gmodule-2.0\
|
|
|
|
idn pcre jpeg m pthread ssl stdc++ z \
|
|
|
|
gstbase-0.10 gstreamer-0.10
|
2006-09-21 19:14:48 -04:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
MODULES= devel/gettext
|
2007-07-07 06:47:04 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS+= curl.>=5::net/curl \
|
2006-09-21 11:48:10 -04:00
|
|
|
xml2.>=9.0::textproc/libxml \
|
2006-11-19 23:06:41 -05:00
|
|
|
agg.>=2::graphics/agg \
|
2007-07-07 06:47:04 -04:00
|
|
|
gdk_pixbuf-2.0,gtk-x11-2.0,gdk-x11-2.0::x11/gtk+2 \
|
2008-06-28 11:46:33 -04:00
|
|
|
boost_thread-mt.>=1,boost_date_time-mt.>=1:boost->=1.34.1p2:devel/boost \
|
2007-08-09 18:08:19 -04:00
|
|
|
ltdl::devel/libtool,-ltdl \
|
2008-06-28 11:46:33 -04:00
|
|
|
gstpbutils-0.10::multimedia/gstreamer-0.10/plugins-base
|
2006-09-21 11:48:10 -04:00
|
|
|
|
2008-07-08 22:25:44 -04:00
|
|
|
RUN_DEPENDS+= :gstreamer-ffmpeg->=0.10.4p0:multimedia/gstreamer-0.10/plugins-ffmpeg \
|
2009-09-28 14:32:02 -04:00
|
|
|
::multimedia/gstreamer-0.10/plugins-ugly \
|
2008-06-28 11:46:33 -04:00
|
|
|
::multimedia/gstreamer-0.10/plugins-bad \
|
2009-10-14 08:51:45 -04:00
|
|
|
::multimedia/gstreamer-0.10/plugins-good \
|
2008-06-28 11:46:33 -04:00
|
|
|
:gstreamer-gnome->=0.10.19p1:multimedia/gstreamer-0.10/plugins-base,-gnome
|
2006-09-21 11:48:10 -04:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
2007-07-07 06:47:04 -04:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-07-16 00:02:38 -04:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnash
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libbase/{gnashpluginrc,gnashrc} \
|
|
|
|
${PREFIX}/share/examples/gnash
|
2006-12-08 10:40:26 -05:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
CONFIGURE_ARGS+=--with-npapi-plugindir=${LOCALBASE}/lib/mozilla-plugins \
|
2007-07-07 06:47:04 -04:00
|
|
|
--disable-cygnal \
|
|
|
|
--disable-debugger \
|
2006-11-19 23:06:41 -05:00
|
|
|
--enable-renderer=agg \
|
|
|
|
--enable-gui=gtk \
|
2007-07-07 06:47:04 -04:00
|
|
|
--with-libintl-prefix=${LOCALBASE}
|
2006-11-19 23:06:41 -05:00
|
|
|
|
2008-06-28 11:46:33 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
INSTALL_TARGET= install install-plugins
|
|
|
|
|
|
|
|
NO_REGRESS= testsuite available at http://www.gnashdev.org/testcases/
|
|
|
|
|
|
|
|
SHARED_LIBS= gnashnet 0.0 \
|
|
|
|
mozsdk 0.0
|
|
|
|
|
|
|
|
SUBST_VARS= VER
|
2006-09-21 11:48:10 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|