aboutsummaryrefslogtreecommitdiffstats
path: root/www/xapian-omega
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-04-04 17:38:22 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-04-04 17:38:22 +0800
commitd1dd3a844da276e9770737c91dd0f9e3ef0ff7e4 (patch)
treed8c942d809b034a2512399d8842211621b23e64c /www/xapian-omega
parent9059a2e8c7f52696c26fb4bd93f0e87c7dfbecdf (diff)
downloadfreebsd-ports-gnome-d1dd3a844da276e9770737c91dd0f9e3ef0ff7e4.tar.gz
freebsd-ports-gnome-d1dd3a844da276e9770737c91dd0f9e3ef0ff7e4.tar.zst
freebsd-ports-gnome-d1dd3a844da276e9770737c91dd0f9e3ef0ff7e4.zip
Update to 1.4.3
- Add CONFLICTS_INSTALL - Convert to options target helper - Update WWW Changes: https://trac.xapian.org/wiki/ReleaseOverview/1.4.3 https://trac.xapian.org/wiki/ReleaseOverview/1.4.2 https://trac.xapian.org/wiki/ReleaseOverview/1.4.1 https://trac.xapian.org/wiki/ReleaseOverview/1.4.0
Diffstat (limited to 'www/xapian-omega')
-rw-r--r--www/xapian-omega/Makefile11
-rw-r--r--www/xapian-omega/distinfo6
-rw-r--r--www/xapian-omega/files/patch-htmlparse.h10
-rw-r--r--www/xapian-omega/pkg-descr2
-rw-r--r--www/xapian-omega/pkg-plist5
5 files changed, 27 insertions, 7 deletions
diff --git a/www/xapian-omega/Makefile b/www/xapian-omega/Makefile
index 3f3c67996c48..4e75531f15e6 100644
--- a/www/xapian-omega/Makefile
+++ b/www/xapian-omega/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= xapian-omega
-PORTVERSION= 1.2.24
+PORTVERSION= 1.4.3
CATEGORIES= www
MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \
LOCAL/sunpoet
@@ -13,9 +13,12 @@ COMMENT= CGI search application built on Xapian
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= xapian-core>=${PORTVERSION}:databases/xapian-core
LIB_DEPENDS= libpcre.so:devel/pcre \
libxapian.so:databases/xapian-core
+CONFLICTS_INSTALL= xapian-omega12-
+
OPTIONS_DEFINE= DOCS EXAMPLES ICONV
OPTIONS_DEFAULT=ICONV
ICONV_DESC= Enable iconv character set conversion support
@@ -46,9 +49,11 @@ post-patch:
-e '/^pkglibbindir = / s| = .*$$| = ${WWWDIR}/cgi-bin|' \
${WRKSRC}/Makefile.in
-post-install:
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+post-install-DOCS-on:
cd ${WRKSRC}/ && ${INSTALL_DATA} ${MORE_PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+
+post-install-EXAMPLES-on:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>
diff --git a/www/xapian-omega/distinfo b/www/xapian-omega/distinfo
index 6b6185b660da..544fc7cee663 100644
--- a/www/xapian-omega/distinfo
+++ b/www/xapian-omega/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1475135073
-SHA256 (xapian-omega-1.2.24.tar.xz) = 45fca431b812ddacbd592b522389474317af386b3ab554908edd36fc5918da53
-SIZE (xapian-omega-1.2.24.tar.xz) = 438104
+TIMESTAMP = 1485562544
+SHA256 (xapian-omega-1.4.3.tar.xz) = 2eea0344a0703ba379d845b86d08a9c2e9faf0deb21834d9ea6939b712c6216e
+SIZE (xapian-omega-1.4.3.tar.xz) = 498856
diff --git a/www/xapian-omega/files/patch-htmlparse.h b/www/xapian-omega/files/patch-htmlparse.h
new file mode 100644
index 000000000000..7bd1c3256e6a
--- /dev/null
+++ b/www/xapian-omega/files/patch-htmlparse.h
@@ -0,0 +1,10 @@
+--- htmlparse.h.orig 2016-10-21 04:54:32 UTC
++++ htmlparse.h
+@@ -24,6 +24,7 @@
+
+ #include <string>
+ #include <map>
++#include <ctime>
+
+ using std::string;
+ using std::map;
diff --git a/www/xapian-omega/pkg-descr b/www/xapian-omega/pkg-descr
index f5d46016b84d..7133ba9a62fe 100644
--- a/www/xapian-omega/pkg-descr
+++ b/www/xapian-omega/pkg-descr
@@ -2,4 +2,4 @@ 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.
-WWW: http://xapian.org/
+WWW: https://xapian.org/
diff --git a/www/xapian-omega/pkg-plist b/www/xapian-omega/pkg-plist
index 6f96a45f18f1..8cd4197852df 100644
--- a/www/xapian-omega/pkg-plist
+++ b/www/xapian-omega/pkg-plist
@@ -2,8 +2,13 @@ bin/dbi2omega
bin/htdig2omega
bin/mbox2omega
bin/omindex
+bin/omindex-list
bin/scriptindex
+man/man1/omindex-list.1.gz
man/man1/omindex.1.gz
man/man1/scriptindex.1.gz
+%%WWWDIR%%/cgi-bin/mhtml2html
%%WWWDIR%%/cgi-bin/omega
%%WWWDIR%%/cgi-bin/outlookmsg2html
+%%WWWDIR%%/cgi-bin/rfc822tohtml
+%%WWWDIR%%/cgi-bin/vcard2text