summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2013-11-12 18:18:38 +0000
committerAlberto Villa <avilla@FreeBSD.org>2013-11-12 18:18:38 +0000
commite4f61406393d5bf7cfe7ab0442b86f20779ebf8a (patch)
tree57735f6b35596c70e5ec2813432aa34d6e7eeb05
parentFix when PREFIX != LOCALBASE (diff)
- Use USES=webplugin.
- Mark explicit dependency on qt4-corelib.
-rw-r--r--www/kpartsplugin/Makefile16
-rw-r--r--www/kpartsplugin/pkg-plist4
2 files changed, 8 insertions, 12 deletions
diff --git a/www/kpartsplugin/Makefile b/www/kpartsplugin/Makefile
index 2ee2bef97759..3ee2178e3295 100644
--- a/www/kpartsplugin/Makefile
+++ b/www/kpartsplugin/Makefile
@@ -11,18 +11,14 @@ MAINTAINER= avilla@FreeBSD.org
COMMENT= Browser file viewer using KDE technology
USE_KDE4= kdehier kdelibs kdeprefix automoc4
-USE_QT4= gui moc_build qmake_build rcc_build uic_build
+USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build
USE_BZIP2= yes
-USES= cmake
-CMAKE_ARGS= -DNSPLUGIN_INSTALL_DIR:PATH="${WEBPLUGINS_DIR}"
+USES= cmake webplugin:native
+CMAKE_ARGS= -DNSPLUGIN_INSTALL_DIR:PATH="${WEBPLUGIN_DIR}"
PORTDATE= 20120723
-USE_WEBPLUGINS= native
-WEBPLUGINS_NAME= # empty
-WEBPLUGINS_FILES= lib${PORTNAME}.so
+WEBPLUGIN_NAME= # empty
+WEBPLUGIN_FILES=lib${PORTNAME}.so
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../www/firefox/Makefile.webplugins"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/kpartsplugin/pkg-plist b/www/kpartsplugin/pkg-plist
index bad8d05e3316..8ec747eb22cb 100644
--- a/www/kpartsplugin/pkg-plist
+++ b/www/kpartsplugin/pkg-plist
@@ -1,4 +1,4 @@
-%%WEBPLUGINS_DIR%%/libkpartsplugin.so
+%%WEBPLUGIN_DIR%%/libkpartsplugin.so
lib/kde4/kcm_kpartsplugin.so
share/kde4/services/kcm_kpartsplugin.desktop
-@dirrmtry %%WEBPLUGINS_DIR%%
+@dirrmtry %%WEBPLUGIN_DIR%%