aboutsummaryrefslogtreecommitdiff
path: root/www/kpartsplugin
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2012-08-30 15:41:36 +0000
committerAlberto Villa <avilla@FreeBSD.org>2012-08-30 15:41:36 +0000
commit5b7ecc28295eff9cd9cf87c76f990bbac31640bc (patch)
treeb182fd5c9335f353c5aaa20836ce901be034ec01 /www/kpartsplugin
parent68384983e2e2e54fe3609c4065619024cf9de74c (diff)
downloadports-5b7ecc28295eff9cd9cf87c76f990bbac31640bc.tar.gz
ports-5b7ecc28295eff9cd9cf87c76f990bbac31640bc.zip
Notes
Diffstat (limited to 'www/kpartsplugin')
-rw-r--r--www/kpartsplugin/Makefile11
-rw-r--r--www/kpartsplugin/distinfo4
-rw-r--r--www/kpartsplugin/pkg-plist6
3 files changed, 12 insertions, 9 deletions
diff --git a/www/kpartsplugin/Makefile b/www/kpartsplugin/Makefile
index d3104e094481..9d50c164a036 100644
--- a/www/kpartsplugin/Makefile
+++ b/www/kpartsplugin/Makefile
@@ -18,9 +18,14 @@ USE_KDE4= kdehier kdelibs kdeprefix automoc4
USE_QT4= gui moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
USE_CMAKE= yes
-CMAKE_ARGS= -DNSPLUGIN_INSTALL_DIR:PATH="${LOCALBASE}/mozilla/plugins"
+CMAKE_ARGS= -DNSPLUGIN_INSTALL_DIR:PATH="${WEBPLUGINS_DIR}"
MAKE_JOBS_SAFE= yes
-PORTDATE= 20120605
+PORTDATE= 20120723
-.include <bsd.port.mk>
+USE_WEBPLUGINS= native
+WEBPLUGINS_FILES= lib${PORTNAME}.so
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../www/firefox/Makefile.webplugins"
+.include <bsd.port.post.mk>
diff --git a/www/kpartsplugin/distinfo b/www/kpartsplugin/distinfo
index 070e2442e02e..f94a209fedd9 100644
--- a/www/kpartsplugin/distinfo
+++ b/www/kpartsplugin/distinfo
@@ -1,2 +1,2 @@
-SHA256 (kpartsplugin-20120605.tar.bz2) = 2d4fef7efcd661c0dfab8f383b98b279ff8c296acf6fae4e9dc16da4e30e6da4
-SIZE (kpartsplugin-20120605.tar.bz2) = 34733
+SHA256 (kpartsplugin-20120723.tar.bz2) = dfdc7a9c810ce380e742b1911dce8b2f59136c6a17b0b1ca13d6f6c190c7f851
+SIZE (kpartsplugin-20120723.tar.bz2) = 34786
diff --git a/www/kpartsplugin/pkg-plist b/www/kpartsplugin/pkg-plist
index 25ceec581da3..d7a4c4121a35 100644
--- a/www/kpartsplugin/pkg-plist
+++ b/www/kpartsplugin/pkg-plist
@@ -1,6 +1,4 @@
+%%WEBPLUGINS_DIR%%/libkpartsplugin.so
lib/kde4/kcm_kpartsplugin.so
share/kde4/services/kcm_kpartsplugin.desktop
-@cwd %%LOCALBASE%%
-mozilla/plugins/libkpartsplugin.so
-@dirrmtry mozilla/plugins
-@dirrmtry mozilla
+@dirrm %%WEBPLUGINS_DIR%%