aboutsummaryrefslogtreecommitdiff
path: root/graphics/gnash-devel
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2009-01-10 02:45:46 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2009-01-10 02:45:46 +0000
commit15b6544926b07a98710eeb765baf03e3fc9a195c (patch)
tree35103cf986d2ed2295c97768e62afcc47dfed877 /graphics/gnash-devel
parent23fcf54562404bb41380488c8318ac0e3ce15efc (diff)
downloadports-15b6544926b07a98710eeb765baf03e3fc9a195c.tar.gz
ports-15b6544926b07a98710eeb765baf03e3fc9a195c.zip
Notes
Diffstat (limited to 'graphics/gnash-devel')
-rw-r--r--graphics/gnash-devel/Makefile6
-rw-r--r--graphics/gnash-devel/pkg-plist4
2 files changed, 7 insertions, 3 deletions
diff --git a/graphics/gnash-devel/Makefile b/graphics/gnash-devel/Makefile
index f1fbbcd87237..a3d7db0346f0 100644
--- a/graphics/gnash-devel/Makefile
+++ b/graphics/gnash-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnash
PORTVERSION= 20081208
+PORTREVISION= 1
CATEGORIES= graphics
# gnashdev.org is slower
MASTER_SITES= http://mirror.amdmi3.ru/ \
@@ -43,7 +44,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS} ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \
--with-boost-lib="${LOCALBASE}/lib" \
- --with-npapi-plugindir="${PREFIX}/lib/browser_plugins" \
+ --with-npapi-plugindir="${WEBPLUGINS_DIR}" \
--with-kde-pluginprefix="${PREFIX}"
GNASHVER= trunk
@@ -70,6 +71,9 @@ OPTIONS= PLUGIN "Enable browser plugin" on \
# Plugin option processing
.if !defined(WITHOUT_GTK) && !defined(WITHOUT_PLUGIN)
+USE_WEBPLUGINS= native
+WEBPLUGINS_FILES= libgnashplugin.so
+.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
PLIST_SUB+= FFPLUGIN=""
.else
PLIST_SUB+= FFPLUGIN="@comment "
diff --git a/graphics/gnash-devel/pkg-plist b/graphics/gnash-devel/pkg-plist
index 8b8cdc664a16..4178ce302650 100644
--- a/graphics/gnash-devel/pkg-plist
+++ b/graphics/gnash-devel/pkg-plist
@@ -6,7 +6,7 @@ bin/soldumper
%%GTK%%bin/gtk-gnash
%%KDE%%bin/kde-gnash
%%CYGNAL%%bin/cygnal
-%%FFPLUGIN%%lib/browser_plugins/libgnashplugin.so
+%%FFPLUGIN%%%%WEBPLUGINS_DIR%%/libgnashplugin.so
%%KONQPLUGIN%%share/apps/klash/pluginsinfo
%%KONQPLUGIN%%share/apps/klash/klashpartui.rc
%%KONQPLUGIN%%share/services/klash_part.desktop
@@ -58,4 +58,4 @@ share/locale/sv/LC_MESSAGES/gnash.mo
@dirrm %%DOCSDIR%%
@dirrm lib/gnash
%%KONQPLUGIN%%@dirrm share/apps/klash
-%%FFPLUGIN%%@dirrmtry lib/browser_plugins
+%%FFPLUGIN%%@dirrmtry %%WEBPLUGINS_DIR%%