Index: head/textproc/qstardict/Makefile =================================================================== --- head/textproc/qstardict/Makefile (revision 425606) +++ head/textproc/qstardict/Makefile (revision 425607) @@ -1,39 +1,44 @@ # Created by: Yinghong.Liu # $FreeBSD$ PORTNAME= qstardict PORTVERSION= 1.0.1 CATEGORIES= textproc MASTER_SITES= http://qstardict.ylsoftware.com/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Qt 4 based dictionary program (stardict clone) +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + USES= dos2unix pkgconfig qmake tar:bzip2 -USE_QT4= gui network xml uic_build moc_build rcc_build +USE_QT4= corelib gui network xml uic_build moc_build rcc_build +USE_GNOME= glib20 +USE_XORG= x11 DOS2UNIX_FILES= qstardict.pri # Path to dictionaries installed by stardict-* ports DICPATH= ${LOCALBASE}/share/stardict/dic OPTIONS_DEFINE= DBUS DOCS NLS -OPTIONS_DEFAULT:= ${OPTIONS_DEFINE} +OPTIONS_DEFAULT=DBUS OPTIONS_SUB= yes DBUS_USE= QT4=dbus DBUS_QMAKE_OFF= NO_DBUS=1 NLS_QMAKE_OFF= NO_TRANSLATIONS=1 post-patch: @${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \ ${WRKSRC}/qstardict.pri @${REINPLACE_CMD} -e "s|/usr/share/stardict/dic|${DICPATH}|g" \ -e "s|glib.*\.h|glib.h|g" \ ${WRKSRC}/plugins/stardict/stardict.cpp post-patch-DOCS-off: - ${REINPLACE_CMD} -e "/^INSTALLS/s|docs||g" \ + @${REINPLACE_CMD} -e "/^INSTALLS/s|docs||g" \ ${WRKSRC}/qstardict.pro .include Index: head/textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp =================================================================== --- head/textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp (revision 425606) +++ head/textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp (nonexistent) @@ -1,10 +0,0 @@ ---- ./plugins/stardict/mapfile.hpp.orig 2011-12-05 12:40:49.000000000 +0000 -+++ ./plugins/stardict/mapfile.hpp 2013-12-07 17:36:45.942541049 +0000 -@@ -9,6 +9,7 @@ - # include - # include - # include -+# include - #endif - #ifdef _WIN32 - # include Property changes on: head/textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/qstardict/files/patch-plugins__stardict__lib.cpp =================================================================== --- head/textproc/qstardict/files/patch-plugins__stardict__lib.cpp (revision 425606) +++ head/textproc/qstardict/files/patch-plugins__stardict__lib.cpp (nonexistent) @@ -1,10 +0,0 @@ ---- ./plugins/stardict/lib.cpp.orig 2011-12-05 12:40:49.000000000 +0000 -+++ ./plugins/stardict/lib.cpp 2013-12-09 11:22:18.738921230 +0000 -@@ -9,6 +9,7 @@ - #include - #include - #include -+#include - - #include "distance.h" - #include "file.hpp" Property changes on: head/textproc/qstardict/files/patch-plugins__stardict__lib.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/qstardict/files/patch-plugins_stardict_lib.cpp =================================================================== --- head/textproc/qstardict/files/patch-plugins_stardict_lib.cpp (nonexistent) +++ head/textproc/qstardict/files/patch-plugins_stardict_lib.cpp (revision 425607) @@ -0,0 +1,10 @@ +--- plugins/stardict/lib.cpp.orig 2011-12-05 12:40:49 UTC ++++ plugins/stardict/lib.cpp +@@ -9,6 +9,7 @@ + #include + #include + #include ++#include + + #include "distance.h" + #include "file.hpp" Property changes on: head/textproc/qstardict/files/patch-plugins_stardict_lib.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp =================================================================== --- head/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp (nonexistent) +++ head/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp (revision 425607) @@ -0,0 +1,10 @@ +--- plugins/stardict/mapfile.hpp.orig 2011-12-05 12:40:49 UTC ++++ plugins/stardict/mapfile.hpp +@@ -9,6 +9,7 @@ + # include + # include + # include ++# include + #endif + #ifdef _WIN32 + # include Property changes on: head/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/textproc/qstardict/files/patch-qstardict.pri =================================================================== --- head/textproc/qstardict/files/patch-qstardict.pri (revision 425606) +++ head/textproc/qstardict/files/patch-qstardict.pri (revision 425607) @@ -1,10 +1,10 @@ ---- ./qstardict.pri.orig 2009-02-03 21:36:16.000000000 +0300 -+++ ./qstardict.pri 2009-02-05 10:24:18.000000000 +0300 -@@ -44,7 +44,6 @@ +--- qstardict.pri.orig 2016-11-07 11:15:01 UTC ++++ qstardict.pri +@@ -49,7 +49,6 @@ win32 { } unix:DEFINES += HAVE_MMAP -unix:isEmpty(NO_DBUS):!contains(QT_CONFIG, dbus): NO_DBUS = 1 unix:isEmpty(NO_DBUS):CONFIG += qdbus unix:isEmpty(NO_DBUS):DEFINES += QSTARDICT_WITH_DBUS isEmpty(NO_TRANSLATIONS):DEFINES += QSTARDICT_WITH_TRANSLATIONS Index: head/textproc/qstardict/pkg-message =================================================================== --- head/textproc/qstardict/pkg-message (revision 425606) +++ head/textproc/qstardict/pkg-message (revision 425607) @@ -1,10 +1,10 @@ ======================================================================= QStarDict can support for StarDict dictionaries. You can install some dictionaries for StarDict(QStarDict): - chinese/stardict2-dict-zh_CN Simplified Chinese - English - chinese/stardict2-dict-zh_TW Traditional Chinese - English - japanese/stardict2-dict-ja Japanese - English + chinese/stardict2-dict-zh_CN Simplified Chinese - English + chinese/stardict2-dict-zh_TW Traditional Chinese - English + japanese/stardict2-dict-ja Japanese - English textproc/stardict2-dictd_mova Dictionaries from www.mova.org textproc/stardict2-quick Dictionaries from Quick for StarDict =======================================================================