aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2012-09-12 21:37:57 +0800
committermakc <makc@FreeBSD.org>2012-09-12 21:37:57 +0800
commit8477fef71c33252b32316994dd94d7bdfcc94e5b (patch)
treea4bb4b686d8a68fbf994611f9bd13fdb60ae6412 /deskutils
parentf3ba834f06f0963c8cb5ef6a6c9eeda8c539f534 (diff)
downloadfreebsd-ports-gnome-8477fef71c33252b32316994dd94d7bdfcc94e5b.tar.gz
freebsd-ports-gnome-8477fef71c33252b32316994dd94d7bdfcc94e5b.tar.zst
freebsd-ports-gnome-8477fef71c33252b32316994dd94d7bdfcc94e5b.zip
Add new port deskutils/plasma-applet-qstardict:
Dictionary plasmoid for KDE from QStarDict authors. WWW: http://qstardict.ylsoftware.com
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/plasma-applet-qstardict/Makefile27
-rw-r--r--deskutils/plasma-applet-qstardict/distinfo2
-rw-r--r--deskutils/plasma-applet-qstardict/pkg-descr3
-rw-r--r--deskutils/plasma-applet-qstardict/pkg-plist4
5 files changed, 37 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 5b53e38634df..1f1124a12f32 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -207,6 +207,7 @@
SUBDIR += plasma-applet-fancytasks
SUBDIR += plasma-applet-panelspacer
SUBDIR += plasma-applet-playwolf
+ SUBDIR += plasma-applet-qstardict
SUBDIR += plasma-applet-serverstatuswidget
SUBDIR += plasma-applet-simpleweatherforecast
SUBDIR += plasma-applet-teacooker
diff --git a/deskutils/plasma-applet-qstardict/Makefile b/deskutils/plasma-applet-qstardict/Makefile
new file mode 100644
index 000000000000..a3c35a1df76b
--- /dev/null
+++ b/deskutils/plasma-applet-qstardict/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= qstardict
+PORTVERSION= 1.0.1
+CATEGORIES= deskutils textproc kde
+MASTER_SITES= http://qstardict.ylsoftware.com/files/
+PKGNAMEPREFIX= plasma-applet-
+
+MAINTAINER= makc@FreeBSD.org
+COMMENT= Dictionary plasma applet for KDE
+
+RUN_DEPENDS= ${QSTARDICT_PLUGIN_PATH}/libstardict.so:${PORTSDIR}/textproc/qstardict
+
+USE_BZIP2= yes
+USE_CMAKE= yes
+USE_QT4= qmake_build uic_build moc_build rcc_build
+USE_KDE4= automoc4 kdeprefix kdelibs
+CMAKE_SOURCE_PATH= ${WRKSRC}/kdeplasma
+MAKE_JOBS_SAFE= yes
+
+QSTARDICT_PLUGIN_PATH= ${LOCALBASE}/lib/qstardict/plugins
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|/usr/lib/qstardict/plugins|${QSTARDICT_PLUGIN_PATH}|g' \
+ ${WRKSRC}/kdeplasma/dataengine/config.h.cmake
+
+.include <bsd.port.mk>
diff --git a/deskutils/plasma-applet-qstardict/distinfo b/deskutils/plasma-applet-qstardict/distinfo
new file mode 100644
index 000000000000..7b7dd47b86ee
--- /dev/null
+++ b/deskutils/plasma-applet-qstardict/distinfo
@@ -0,0 +1,2 @@
+SHA256 (qstardict-1.0.1.tar.bz2) = b778ace65a22e5b9724d687ad90c77ec98feb2671774f73cd51725ec7b59e62f
+SIZE (qstardict-1.0.1.tar.bz2) = 565098
diff --git a/deskutils/plasma-applet-qstardict/pkg-descr b/deskutils/plasma-applet-qstardict/pkg-descr
new file mode 100644
index 000000000000..9da0977e80b6
--- /dev/null
+++ b/deskutils/plasma-applet-qstardict/pkg-descr
@@ -0,0 +1,3 @@
+Dictionary plasmoid for KDE from QStarDict authors.
+
+WWW: http://qstardict.ylsoftware.com
diff --git a/deskutils/plasma-applet-qstardict/pkg-plist b/deskutils/plasma-applet-qstardict/pkg-plist
new file mode 100644
index 000000000000..10c058c07276
--- /dev/null
+++ b/deskutils/plasma-applet-qstardict/pkg-plist
@@ -0,0 +1,4 @@
+lib/kde4/plasma_applet_qstardict.so
+lib/kde4/plasma_engine_qstardict.so
+share/kde4/services/plasma-dataengine-qstardict.desktop
+share/kde4/services/plasma-qstardict-default.desktop