diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-07 19:23:43 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-07 19:23:43 +0800 |
commit | 3f8a2f6bfef5f03a3439d01bac3a4b5803489307 (patch) | |
tree | 2619c49e41f59ec04379f90976f479ad96286f0c /textproc | |
parent | 39b8008acefbd138f8ce5e0d2ef047c286f7f2f9 (diff) | |
download | freebsd-ports-graphics-3f8a2f6bfef5f03a3439d01bac3a4b5803489307.tar.gz freebsd-ports-graphics-3f8a2f6bfef5f03a3439d01bac3a4b5803489307.tar.zst freebsd-ports-graphics-3f8a2f6bfef5f03a3439d01bac3a4b5803489307.zip |
- Add LICENSE
- Add missing depends
- Cosmetic fixes
- Regenerate patches
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/qstardict/Makefile | 11 | ||||
-rw-r--r-- | textproc/qstardict/files/patch-plugins_stardict_lib.cpp (renamed from textproc/qstardict/files/patch-plugins__stardict__lib.cpp) | 4 | ||||
-rw-r--r-- | textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp (renamed from textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp) | 4 | ||||
-rw-r--r-- | textproc/qstardict/files/patch-qstardict.pri | 6 | ||||
-rw-r--r-- | textproc/qstardict/pkg-message | 6 |
5 files changed, 18 insertions, 13 deletions
diff --git a/textproc/qstardict/Makefile b/textproc/qstardict/Makefile index 1dc4d2188f2..4709138d8b7 100644 --- a/textproc/qstardict/Makefile +++ b/textproc/qstardict/Makefile @@ -9,15 +9,20 @@ 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 @@ -33,7 +38,7 @@ post-patch: ${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 <bsd.port.mk> diff --git a/textproc/qstardict/files/patch-plugins__stardict__lib.cpp b/textproc/qstardict/files/patch-plugins_stardict_lib.cpp index 6e51056c076..c0e8b1a1e89 100644 --- a/textproc/qstardict/files/patch-plugins__stardict__lib.cpp +++ b/textproc/qstardict/files/patch-plugins_stardict_lib.cpp @@ -1,5 +1,5 @@ ---- ./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 +--- plugins/stardict/lib.cpp.orig 2011-12-05 12:40:49 UTC ++++ plugins/stardict/lib.cpp @@ -9,6 +9,7 @@ #include <sys/stat.h> #include <zlib.h> diff --git a/textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp b/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp index 6e62537f620..f38ebf94e09 100644 --- a/textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp +++ b/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp @@ -1,5 +1,5 @@ ---- ./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 +--- plugins/stardict/mapfile.hpp.orig 2011-12-05 12:40:49 UTC ++++ plugins/stardict/mapfile.hpp @@ -9,6 +9,7 @@ # include <sys/types.h> # include <fcntl.h> diff --git a/textproc/qstardict/files/patch-qstardict.pri b/textproc/qstardict/files/patch-qstardict.pri index fc0e21564fd..08061529036 100644 --- a/textproc/qstardict/files/patch-qstardict.pri +++ b/textproc/qstardict/files/patch-qstardict.pri @@ -1,6 +1,6 @@ ---- ./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 diff --git a/textproc/qstardict/pkg-message b/textproc/qstardict/pkg-message index 94259f79d08..01736059ac1 100644 --- a/textproc/qstardict/pkg-message +++ b/textproc/qstardict/pkg-message @@ -2,9 +2,9 @@ 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 ======================================================================= |