summaryrefslogtreecommitdiff
path: root/www/swfdec-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/swfdec-plugin/Makefile')
-rw-r--r--www/swfdec-plugin/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/swfdec-plugin/Makefile b/www/swfdec-plugin/Makefile
index 7779a76ab70a..af9a85317e91 100644
--- a/www/swfdec-plugin/Makefile
+++ b/www/swfdec-plugin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= swfdec-plugin
PORTVERSION= 0.6.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec-mozilla/0.6/
DISTNAME= swfdec-mozilla-${PORTVERSION}
@@ -18,8 +18,13 @@ COMMENT= Flash rendering plugin
LIB_DEPENDS= swfdec-0.6:${PORTSDIR}/graphics/swfdec
USE_AUTOTOOLS= libtool:15
-CONFIGURE_ARGS= --with-plugin-dir="${PREFIX}/lib/browser_plugins"
+CONFIGURE_ARGS= --with-plugin-dir="${WEBPLUGINS_DIR}"
USE_LDCONFIG= yes
-.include <bsd.port.mk>
+USE_WEBPLUGINS= gecko*
+WEBPLUGINS_FILES=libswfdecmozilla.so
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
+.include <bsd.port.post.mk>