mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
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
This commit is contained in:
@@ -2723,6 +2723,7 @@
|
||||
SUBDIR += wuzz
|
||||
SUBDIR += wwwoffle
|
||||
SUBDIR += xapian-omega
|
||||
SUBDIR += xapian-omega14
|
||||
SUBDIR += xcaddy
|
||||
SUBDIR += xfce4-smartbookmark-plugin
|
||||
SUBDIR += xh
|
||||
|
||||
@@ -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>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1773966812
|
||||
SHA256 (xapian-omega-1.4.31.tar.xz) = a7dfb608dd8b3ea53dde85236d475796826069c4d126189ea33a793349b2317a
|
||||
SIZE (xapian-omega-1.4.31.tar.xz) = 589208
|
||||
@@ -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 \
|
||||
@@ -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.
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user