aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/clucene-qt5
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2014-03-04 00:50:32 +0800
committermakc <makc@FreeBSD.org>2014-03-04 00:50:32 +0800
commitc05a76ed15368176b937f2b06dad88f13e12f4f0 (patch)
tree0facf8a13da71e87170cdfcf5902ed77d09cb72f /textproc/clucene-qt5
parent5e6b17ee28fc3150198fa33fda5c63d81fbc8872 (diff)
downloadfreebsd-ports-gnome-c05a76ed15368176b937f2b06dad88f13e12f4f0.tar.gz
freebsd-ports-gnome-c05a76ed15368176b937f2b06dad88f13e12f4f0.tar.zst
freebsd-ports-gnome-c05a76ed15368176b937f2b06dad88f13e12f4f0.zip
KDE/FreeBSD team is happy to present Qt 5 in ports!
Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports. Trivial update from 5.2.0-beta1 to 5.2.1 by me. Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for Qt-5.2.0 update. Approved by: portmgr (bapt) (for Mk/bsd.port.mk)
Diffstat (limited to 'textproc/clucene-qt5')
-rw-r--r--textproc/clucene-qt5/Makefile19
-rw-r--r--textproc/clucene-qt5/files/patch-3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp11
-rw-r--r--textproc/clucene-qt5/pkg-plist39
3 files changed, 69 insertions, 0 deletions
diff --git a/textproc/clucene-qt5/Makefile b/textproc/clucene-qt5/Makefile
new file mode 100644
index 000000000000..c9b895c8d9ed
--- /dev/null
+++ b/textproc/clucene-qt5/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= clucene
+DISTVERSION= ${QT5_VERSION}
+CATEGORIES= textproc
+PKGNAMEPREFIX= qt5-
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Qt bindings for the CLucene full-text search library
+
+USE_QT5= core buildtools_build
+QT_DIST= tools
+USES= qmake
+USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
+
+WRKSRC_SUBDIR= src/assistant/${PORTNAME}
+PATCH_WRKSRC= ${WRKSRC:H}
+
+.include <bsd.port.mk>
diff --git a/textproc/clucene-qt5/files/patch-3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp b/textproc/clucene-qt5/files/patch-3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp
new file mode 100644
index 000000000000..239d476488bc
--- /dev/null
+++ b/textproc/clucene-qt5/files/patch-3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp
@@ -0,0 +1,11 @@
+--- ./3rdparty/clucene/src/CLucene/search/FieldCacheImpl.cpp.orig 2012-12-18 20:04:15.000000000 +0100
++++ ./3rdparty/clucene/src/CLucene/search/FieldCacheImpl.cpp 2013-01-07 11:29:50.837339980 +0100
+@@ -11,6 +11,8 @@
+ CL_NS_USE(index)
+ CL_NS_DEF(search)
+
++using ::wcschr;
++
+ FieldCacheImpl::FieldCacheImpl():
+ cache(false,true){
+ }
diff --git a/textproc/clucene-qt5/pkg-plist b/textproc/clucene-qt5/pkg-plist
new file mode 100644
index 000000000000..beccfb97957d
--- /dev/null
+++ b/textproc/clucene-qt5/pkg-plist
@@ -0,0 +1,39 @@
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qanalyzer_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qclucene-config_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qclucene_global_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qdocument_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qfield_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qfilter_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qhits_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qindexreader_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qindexwriter_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qquery_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qqueryparser_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qreader_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qsearchable_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qsort_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qterm_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qtoken_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qtokenizer_p.h
+%%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private/qtokenstream_p.h
+%%QT_INCDIR%%/QtCLucene/QtCLucene
+%%QT_INCDIR%%/QtCLucene/QtCLuceneDepends
+%%QT_INCDIR%%/QtCLucene/QtCLuceneVersion
+%%QT_INCDIR%%/QtCLucene/qtcluceneversion.h
+%%QT_LIBDIR%%/libQt5CLucene.la
+%%QT_LIBDIR%%/libQt5CLucene.prl
+%%QT_LIBDIR%%/libQt5CLucene.so
+%%QT_LIBDIR%%/libQt5CLucene.so.5
+%%QT_LIBDIR%%/libQt5CLucene.so.%%SHORTVER%%
+%%QT_LIBDIR%%/libQt5CLucene.so.%%FULLVER%%
+%%DEBUG%%%%QT_LIBDIR%%/libQt5CLucene.so.%%FULLVER%%.debug
+%%QT_MKSPECDIR%%/modules/qt_lib_clucene_private.pri
+libdata/pkgconfig/Qt5CLucene.pc
+@dirrmtry %%QT_MKSPECDIR%%/modules
+@dirrmtry %%QT_MKSPECDIR%%
+@dirrmtry %%QT_ARCHDIR%%
+@dirrm %%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene/private
+@dirrm %%QT_INCDIR%%/QtCLucene/%%FULLVER%%/QtCLucene
+@dirrm %%QT_INCDIR%%/QtCLucene/%%FULLVER%%
+@dirrm %%QT_INCDIR%%/QtCLucene
+@dirrmtry %%QT_INCDIR%%