aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kaffeine-mozilla
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 /multimedia/kaffeine-mozilla
parent23fcf54562404bb41380488c8318ac0e3ce15efc (diff)
downloadports-15b6544926b07a98710eeb765baf03e3fc9a195c.tar.gz
ports-15b6544926b07a98710eeb765baf03e3fc9a195c.zip
Notes
Diffstat (limited to 'multimedia/kaffeine-mozilla')
-rw-r--r--multimedia/kaffeine-mozilla/Makefile14
-rw-r--r--multimedia/kaffeine-mozilla/pkg-plist8
2 files changed, 14 insertions, 8 deletions
diff --git a/multimedia/kaffeine-mozilla/Makefile b/multimedia/kaffeine-mozilla/Makefile
index 91cac517186b..18cfd25e38d3 100644
--- a/multimedia/kaffeine-mozilla/Makefile
+++ b/multimedia/kaffeine-mozilla/Makefile
@@ -3,12 +3,12 @@
# Whom: arved
#
# $FreeBSD$
-# $MCom: ports/multimedia/kaffeine-mozilla/Makefile,v 1.3 2006/10/08 16:54:34 mezz Exp $
+# $MCom: ports-stable/multimedia/kaffeine-mozilla/Makefile,v 1.1 2008/08/01 23:13:21 mezz Exp $
#
PORTNAME= kaffeine-mozilla
PORTVERSION= 0.2
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= multimedia
MASTER_SITES= SF/kaffeine
@@ -19,12 +19,18 @@ RUN_DEPENDS= kaffeine:${PORTSDIR}/multimedia/kaffeine
USE_XORG= x11 xaw
USE_BZIP2= yes
+USE_WEBPLUGINS= native
+WEBPLUGINS_FILES=kaffeineplugin.so
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
USE_AUTOTOOLS= libtool:15
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
+
post-patch:
- ${REINPLACE_CMD} -e "s,prefix)/plugins,prefix)/lib/browser_plugins," ${WRKSRC}/src/Makefile.in
+ ${REINPLACE_CMD} -e "s,[$$][(]prefix[)]/plugins,${WEBPLUGINS_DIR}," \
+ ${WRKSRC}/src/Makefile.in
${REINPLACE_CMD} -e "s,echo aout, echo elf," ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/multimedia/kaffeine-mozilla/pkg-plist b/multimedia/kaffeine-mozilla/pkg-plist
index 6e4c057ecce4..71e0f1875c6f 100644
--- a/multimedia/kaffeine-mozilla/pkg-plist
+++ b/multimedia/kaffeine-mozilla/pkg-plist
@@ -1,4 +1,4 @@
-lib/browser_plugins/kaffeineplugin.so
-lib/browser_plugins/kaffeineplugin.la
-lib/browser_plugins/kaffeineplugin.a
-@dirrmtry lib/browser_plugins
+%%WEBPLUGINS_DIR%%/kaffeineplugin.so
+%%WEBPLUGINS_DIR%%/kaffeineplugin.la
+%%WEBPLUGINS_DIR%%/kaffeineplugin.a
+@dirrmtry %%WEBPLUGINS_DIR%%