Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2026 22:00:39 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e64e24418d08 - main - www/xapian-omega14: Add xapian-omega14 1.4.31 (copied from xapian-omega)
Message-ID:  <69e3ff07.338df.1f2cff0d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e64e24418d086b6851f905ef661774bac0d710e2

commit e64e24418d086b6851f905ef661774bac0d710e2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-18 21:18:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-18 21:18:12 +0000

    www/xapian-omega14: Add xapian-omega14 1.4.31 (copied from xapian-omega)
    
    - Change *_DEPENDS from xapian-core to xapian-core14
    - Update CONFLICTS_INSTALL
    - Update PORTSCOUT
---
 www/Makefile                               |  1 +
 www/xapian-omega14/Makefile                | 49 ++++++++++++++++++++++++++++++
 www/xapian-omega14/distinfo                |  3 ++
 www/xapian-omega14/files/patch-Makefile.in | 19 ++++++++++++
 www/xapian-omega14/pkg-descr               |  3 ++
 www/xapian-omega14/pkg-plist               | 39 ++++++++++++++++++++++++
 6 files changed, 114 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 8d55cab3161b..5592d3ff462a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2723,6 +2723,7 @@
     SUBDIR += wuzz
     SUBDIR += wwwoffle
     SUBDIR += xapian-omega
+    SUBDIR += xapian-omega14
     SUBDIR += xcaddy
     SUBDIR += xfce4-smartbookmark-plugin
     SUBDIR += xh
diff --git a/www/xapian-omega14/Makefile b/www/xapian-omega14/Makefile
new file mode 100644
index 000000000000..9aafea409c3e
--- /dev/null
+++ b/www/xapian-omega14/Makefile
@@ -0,0 +1,49 @@
+PORTNAME=	xapian-omega
+PORTVERSION=	1.4.31
+CATEGORIES=	www
+MASTER_SITES=	https://oligarchy.co.uk/xapian/${PORTVERSION}/ \
+		LOCAL/sunpoet
+PKGNAMESUFFIX=	14
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	CGI search application built on Xapian
+WWW=		https://xapian.org/
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	xapian-core14>=${PORTVERSION}:databases/xapian-core14
+LIB_DEPENDS=	libpcre2-8.so:devel/pcre2 \
+		libxapian.so:databases/xapian-core14
+
+USES=		compiler:c++11-lang libtool localbase perl5 shebangfix tar:xz
+
+CONFIGURE_ARGS=	--datarootdir=${DATADIR} --docdir=${DOCSDIR} \
+		ac_cv_func_snprintf=snprintf
+CONFIGURE_ENV=	XAPIAN_CONFIG=${LOCALBASE}/bin/xapian-config
+GNU_CONFIGURE=	yes
+USE_CXXSTD=	c++11
+
+CONFLICTS_INSTALL=	xapian-omega
+
+PORTSCOUT=	limitw:1,even
+
+SHEBANG_FILES=	dbi2omega htdig2omega mbox2omega
+
+OPTIONS_DEFINE=	DOCS EXAMPLES ICONV
+OPTIONS_DEFAULT=ICONV
+ICONV_DESC=	Enable iconv character set conversion support
+
+ICONV_CONFIGURE_ON=	ac_cv_search_iconv=${ICONV_LIB}
+ICONV_CONFIGURE_WITH=	iconv
+ICONV_USES=		iconv
+
+post-install-DOCS-on:
+	cd ${WRKSRC}/ && ${INSTALL_DATA} AUTHORS ChangeLog NEWS README TODO ${STAGEDIR}${DOCSDIR}/
+
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_DATA} ${WRKSRC}/omega.conf ${STAGEDIR}${EXAMPLESDIR}/
+	cd ${WRKSRC}/ && ${COPYTREE_SHARE} templates ${STAGEDIR}${EXAMPLESDIR}/
+
+.include <bsd.port.mk>
diff --git a/www/xapian-omega14/distinfo b/www/xapian-omega14/distinfo
new file mode 100644
index 000000000000..0c13094de5a8
--- /dev/null
+++ b/www/xapian-omega14/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1773966812
+SHA256 (xapian-omega-1.4.31.tar.xz) = a7dfb608dd8b3ea53dde85236d475796826069c4d126189ea33a793349b2317a
+SIZE (xapian-omega-1.4.31.tar.xz) = 589208
diff --git a/www/xapian-omega14/files/patch-Makefile.in b/www/xapian-omega14/files/patch-Makefile.in
new file mode 100644
index 000000000000..7c15c553211b
--- /dev/null
+++ b/www/xapian-omega14/files/patch-Makefile.in
@@ -0,0 +1,19 @@
+--- Makefile.in.orig	2023-02-02 01:01:36 UTC
++++ Makefile.in
+@@ -841,7 +841,7 @@ AM_CPPFLAGS = \
+ 	-DCONFIGFILE_SYSTEM=\"$(sysconfdir)/omega.conf\" \
+ 	-DPKGLIBBINDIR=\"$(pkglibbindir)\"
+ 
+-pkglibbindir = $(pkglibdir)/bin
++pkglibbindir = $(prefix)/www/xapian-omega/cgi-bin
+ dist_pkglibbin_SCRIPTS = mhtml2html outlookmsg2html rfc822tohtml vcard2text
+ dist_bin_SCRIPTS = dbi2omega htdig2omega mbox2omega
+ dist_check_SCRIPTS = omegatest sourcetest
+@@ -857,7 +857,6 @@ TESTS = atomparsetest$(EXEEXT)\
+ 
+ omegadatadir = $(datadir)/omega
+ dist_omegadata_DATA = htdig2omega.script mbox2omega.script
+-dist_sysconf_DATA = omega.conf
+ 
+ # headers maintained in xapian-core
+ noinst_HEADERS = omega.h query.h cgiparam.h index_file.h mime.h \
diff --git a/www/xapian-omega14/pkg-descr b/www/xapian-omega14/pkg-descr
new file mode 100644
index 000000000000..5f4622c70b90
--- /dev/null
+++ b/www/xapian-omega14/pkg-descr
@@ -0,0 +1,3 @@
+This package contains two index building utilities (omindex and scriptindex) and
+a CGI search application (omega).  These use the Xapian search library to
+provide a search over a collection of documents.
diff --git a/www/xapian-omega14/pkg-plist b/www/xapian-omega14/pkg-plist
new file mode 100644
index 000000000000..16dbd7e0a9fb
--- /dev/null
+++ b/www/xapian-omega14/pkg-plist
@@ -0,0 +1,39 @@
+bin/dbi2omega
+bin/htdig2omega
+bin/mbox2omega
+bin/omindex
+bin/omindex-list
+bin/scriptindex
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/cgiparams.html
+%%PORTDOCS%%%%DOCSDIR%%/encodings.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/newformat.html
+%%PORTDOCS%%%%DOCSDIR%%/omegascript.html
+%%PORTDOCS%%%%DOCSDIR%%/overview.html
+%%PORTDOCS%%%%DOCSDIR%%/quickstart.html
+%%PORTDOCS%%%%DOCSDIR%%/scriptindex.html
+%%PORTDOCS%%%%DOCSDIR%%/termprefixes.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/omega.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/godmode
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/inc/anyalldropbox
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/inc/anyallradio
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/inc/toptermsjs
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/opensearch
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/query
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/topterms
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/templates/xml
+share/man/man1/omindex-list.1.gz
+share/man/man1/omindex.1.gz
+share/man/man1/scriptindex.1.gz
+%%DATADIR%%/omega/htdig2omega.script
+%%DATADIR%%/omega/mbox2omega.script
+%%WWWDIR%%/cgi-bin/mhtml2html
+%%WWWDIR%%/cgi-bin/omega
+%%WWWDIR%%/cgi-bin/outlookmsg2html
+%%WWWDIR%%/cgi-bin/rfc822tohtml
+%%WWWDIR%%/cgi-bin/vcard2text


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e3ff07.338df.1f2cff0d>