aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-04-04 17:28:14 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-04-04 17:28:14 +0800
commit8fb95560c21191b59fcfc44fcd17ce260684f65d (patch)
tree6bc7c0bd00f0fb8426e934abb9030d0640e519dd /databases
parent33c950bd0a5f0c4587a78db3931834d3ac923a34 (diff)
downloadfreebsd-ports-gnome-8fb95560c21191b59fcfc44fcd17ce260684f65d.tar.gz
freebsd-ports-gnome-8fb95560c21191b59fcfc44fcd17ce260684f65d.tar.zst
freebsd-ports-gnome-8fb95560c21191b59fcfc44fcd17ce260684f65d.zip
Add xapian-core12 1.2.24 (copied from xapian-core)
- Add CONFLICTS_INSTALL - Update WWW
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/xapian-core12/Makefile39
-rw-r--r--databases/xapian-core12/distinfo3
-rw-r--r--databases/xapian-core12/files/patch-Makefile.in33
-rw-r--r--databases/xapian-core12/files/patch-clang10
-rw-r--r--databases/xapian-core12/pkg-descr18
-rw-r--r--databases/xapian-core12/pkg-plist59
7 files changed, 163 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 59e84f7dedf5..be59e1ea7b37 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -987,6 +987,7 @@
SUBDIR += xapian-bindings
SUBDIR += xapian-core
SUBDIR += xapian-core10
+ SUBDIR += xapian-core12
SUBDIR += xtrabackup
SUBDIR += zodb3
diff --git a/databases/xapian-core12/Makefile b/databases/xapian-core12/Makefile
new file mode 100644
index 000000000000..bc82dea8be94
--- /dev/null
+++ b/databases/xapian-core12/Makefile
@@ -0,0 +1,39 @@
+# Created by: J.F. Dockes
+# $FreeBSD$
+
+PORTNAME= xapian-core
+PORTVERSION= 1.2.24
+PORTEPOCH= 1
+CATEGORIES= databases
+MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \
+ LOCAL/sunpoet
+PKGNAMESUFFIX= 12
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Probabilistic text search database engine
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+CONFLICTS_INSTALL= xapian-core- xapian-core10-
+
+OPTIONS_DEFINE= DOCS SSE2
+SSE2_DESC= Use SSE2 for floating point
+
+PORTSCOUT= limitw:1,even
+
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+USE_LDCONFIG= yes
+USES= libtool pathfix tar:xz
+
+PORTDOCS= *
+
+SSE2_CONFIGURE_ENABLE= sse
+
+post-install:
+.for file in copydatabase delve quest
+ ${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/${file} ${STAGEDIR}${PREFIX}/bin/xapian-${file}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/xapian-core12/distinfo b/databases/xapian-core12/distinfo
new file mode 100644
index 000000000000..8a3ee30e2c17
--- /dev/null
+++ b/databases/xapian-core12/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475134941
+SHA256 (xapian-core-1.2.24.tar.xz) = 57a82717ba07e9777958b6ef48d94b81ea41ac4c74d544f74da597fab1e1f87b
+SIZE (xapian-core-1.2.24.tar.xz) = 3210192
diff --git a/databases/xapian-core12/files/patch-Makefile.in b/databases/xapian-core12/files/patch-Makefile.in
new file mode 100644
index 000000000000..99c5c7140be1
--- /dev/null
+++ b/databases/xapian-core12/files/patch-Makefile.in
@@ -0,0 +1,33 @@
+--- Makefile.in.orig 2011-08-10 06:54:57 UTC
++++ Makefile.in
+@@ -47,7 +47,8 @@
+ @VPATH_BUILD_TRUE@am__append_1 = -I$(top_builddir)/include \
+ @VPATH_BUILD_TRUE@ -I$(top_srcdir)/languages -Ilanguages \
+ @VPATH_BUILD_TRUE@ -I$(top_srcdir)/queryparser
+-bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
++bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3)
++noinst_bin_PROGRAMS = \
+ examples/copydatabase$(EXEEXT) examples/delve$(EXEEXT) \
+ examples/quest$(EXEEXT) examples/simpleexpand$(EXEEXT) \
+ examples/simpleindex$(EXEEXT) examples/simplesearch$(EXEEXT) \
+@@ -713,7 +714,7 @@
+ @BUILD_BACKEND_CHERT_TRUE@@BUILD_BACKEND_FLINT_TRUE@am__EXEEXT_2 = bin/xapian-chert-update$(EXEEXT)
+ @BUILD_BACKEND_REMOTE_TRUE@am__EXEEXT_3 = bin/xapian-progsrv$(EXEEXT) \
+ @BUILD_BACKEND_REMOTE_TRUE@ bin/xapian-tcpsrv$(EXEEXT)
+-PROGRAMS = $(bin_PROGRAMS)
++PROGRAMS = $(bin_PROGRAMS) $(noinst_bin_PROGRAMS)
+ am__bin_xapian_check_SOURCES_DIST = bin/xapian-check.cc \
+ bin/xapian-check-brass.cc bin/xapian-check-brass.h \
+ bin/xapian-check-chert.cc bin/xapian-check-chert.h \
+@@ -1323,10 +1324,7 @@
+ weight/tradweight.cc weight/weight.cc weight/weightinternal.cc
+ @MAINTAINER_NO_DOCS_FALSE@dist_man_MANS = xapian-config.1 \
+ @MAINTAINER_NO_DOCS_FALSE@ $(am__append_3) $(am__append_5) \
+-@MAINTAINER_NO_DOCS_FALSE@ $(am__append_7) \
+-@MAINTAINER_NO_DOCS_FALSE@ examples/copydatabase.1 \
+-@MAINTAINER_NO_DOCS_FALSE@ examples/delve.1 examples/quest.1 \
+-@MAINTAINER_NO_DOCS_FALSE@ examples/xapian-metadata.1
++@MAINTAINER_NO_DOCS_FALSE@ $(am__append_7)
+ bin_xapian_check_CPPFLAGS = \
+ -I$(top_srcdir)/backends/brass\
+ -I$(top_srcdir)/backends/chert\
diff --git a/databases/xapian-core12/files/patch-clang b/databases/xapian-core12/files/patch-clang
new file mode 100644
index 000000000000..2f039a8a66b3
--- /dev/null
+++ b/databases/xapian-core12/files/patch-clang
@@ -0,0 +1,10 @@
+--- common/safeuuid.h.orig 2013-12-04 00:13:34 UTC
++++ common/safeuuid.h
+@@ -55,6 +55,7 @@
+
+ // UUID API on FreeBSD, NetBSD and AIX.
+
++# include <stdlib.h>
+ # ifdef _AIX
+ /* AIX uses a byte typedef in its <uuid.h> which collides with ours, so use a
+ * macro to rename theirs out of the way.
diff --git a/databases/xapian-core12/pkg-descr b/databases/xapian-core12/pkg-descr
new file mode 100644
index 000000000000..732b65106831
--- /dev/null
+++ b/databases/xapian-core12/pkg-descr
@@ -0,0 +1,18 @@
+Xapian is an Open Source Probabilistic Information Retrieval library, released
+under the GPL. It's written in C++, with bindings to allow use from other
+languages.
+
+Xapian is designed to be a highly adaptable toolkit to allow developers to
+easily add advanced indexing and search facilities to their own applications.
+
+Xapian features include:
+- Ranked probabilistic search - word importance weighting
+- Relevance feedback
+- Phrase and proximity searching
+- Full range of structured boolean search operators
+- Term stemming
+- Database files > 2GB
+- Platform independent data formats
+- Allows simultaneous update and searching.
+
+WWW: https://xapian.org/
diff --git a/databases/xapian-core12/pkg-plist b/databases/xapian-core12/pkg-plist
new file mode 100644
index 000000000000..f679fbc769d2
--- /dev/null
+++ b/databases/xapian-core12/pkg-plist
@@ -0,0 +1,59 @@
+bin/xapian-check
+bin/xapian-chert-update
+bin/xapian-compact
+bin/xapian-config
+bin/xapian-copydatabase
+bin/xapian-delve
+bin/xapian-inspect
+bin/xapian-progsrv
+bin/xapian-quest
+bin/xapian-replicate
+bin/xapian-replicate-server
+bin/xapian-tcpsrv
+include/xapian.h
+include/xapian/base.h
+include/xapian/compactor.h
+include/xapian/database.h
+include/xapian/dbfactory.h
+include/xapian/deprecated.h
+include/xapian/derefwrapper.h
+include/xapian/document.h
+include/xapian/enquire.h
+include/xapian/error.h
+include/xapian/errorhandler.h
+include/xapian/expanddecider.h
+include/xapian/keymaker.h
+include/xapian/matchspy.h
+include/xapian/positioniterator.h
+include/xapian/postingiterator.h
+include/xapian/postingsource.h
+include/xapian/query.h
+include/xapian/queryparser.h
+include/xapian/registry.h
+include/xapian/stem.h
+include/xapian/termgenerator.h
+include/xapian/termiterator.h
+include/xapian/types.h
+include/xapian/unicode.h
+include/xapian/valueiterator.h
+include/xapian/valuesetmatchdecider.h
+include/xapian/version.h
+include/xapian/visibility.h
+include/xapian/weight.h
+lib/cmake/xapian/xapian-config-version.cmake
+lib/cmake/xapian/xapian-config.cmake
+lib/libxapian.a
+lib/libxapian.so
+lib/libxapian.so.22
+lib/libxapian.so.22.7.2
+libdata/pkgconfig/xapian-core.pc
+man/man1/xapian-check.1.gz
+man/man1/xapian-chert-update.1.gz
+man/man1/xapian-compact.1.gz
+man/man1/xapian-config.1.gz
+man/man1/xapian-inspect.1.gz
+man/man1/xapian-progsrv.1.gz
+man/man1/xapian-replicate.1.gz
+man/man1/xapian-replicate-server.1.gz
+man/man1/xapian-tcpsrv.1.gz
+share/aclocal/xapian.m4