From 8477fef71c33252b32316994dd94d7bdfcc94e5b Mon Sep 17 00:00:00 2001 From: makc Date: Wed, 12 Sep 2012 13:37:57 +0000 Subject: Add new port deskutils/plasma-applet-qstardict: Dictionary plasmoid for KDE from QStarDict authors. WWW: http://qstardict.ylsoftware.com --- deskutils/Makefile | 1 + deskutils/plasma-applet-qstardict/Makefile | 27 +++++++++++++++++++++++++++ deskutils/plasma-applet-qstardict/distinfo | 2 ++ deskutils/plasma-applet-qstardict/pkg-descr | 3 +++ deskutils/plasma-applet-qstardict/pkg-plist | 4 ++++ 5 files changed, 37 insertions(+) create mode 100644 deskutils/plasma-applet-qstardict/Makefile create mode 100644 deskutils/plasma-applet-qstardict/distinfo create mode 100644 deskutils/plasma-applet-qstardict/pkg-descr create mode 100644 deskutils/plasma-applet-qstardict/pkg-plist (limited to 'deskutils') 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 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 -- cgit