aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-12-06 04:26:29 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-12-06 04:26:29 +0800
commit13dd35439c2e63db3c1a54cdfb7128e9cbb108ec (patch)
tree55b59af2ea58ad8ef1c7fce3ea94dc8f65073b1e /www
parent30b8265e64239c5ec61b2f5ea2e2a446280cc090 (diff)
downloadfreebsd-ports-gnome-13dd35439c2e63db3c1a54cdfb7128e9cbb108ec.tar.gz
freebsd-ports-gnome-13dd35439c2e63db3c1a54cdfb7128e9cbb108ec.tar.zst
freebsd-ports-gnome-13dd35439c2e63db3c1a54cdfb7128e9cbb108ec.zip
- Update to 1.2.16
- Respect DATADIR - Simplify Makefile Changes: http://trac.xapian.org/wiki/ReleaseOverview/1.2.16
Diffstat (limited to 'www')
-rw-r--r--www/xapian-omega/Makefile13
-rw-r--r--www/xapian-omega/distinfo4
-rw-r--r--www/xapian-omega/pkg-plist7
3 files changed, 9 insertions, 15 deletions
diff --git a/www/xapian-omega/Makefile b/www/xapian-omega/Makefile
index 03a853d52289..4fd3de94e44c 100644
--- a/www/xapian-omega/Makefile
+++ b/www/xapian-omega/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= xapian-omega
-PORTVERSION= 1.2.15
+PORTVERSION= 1.2.16
CATEGORIES= www
MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \
LOCAL/sunpoet
@@ -21,12 +21,14 @@ ICONV_DESC= Enable iconv character set conversion support
PORTSCOUT= limitw:1,even
+CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR}
CONFIGURE_ENV= PCRE_CONFIG=${LOCALBASE}/bin/pcre-config \
XAPIAN_CONFIG=${LOCALBASE}/bin/xapian-config
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
+USE_XZ= yes
USES= perl5 shebangfix
MORE_PORTDOCS= AUTHORS ChangeLog NEWS README TODO
@@ -41,25 +43,16 @@ ICONV_CONFIGURE_WITH= iconv
ICONV_LDFLAGS= ${ICONV_LIB}
ICONV_USES= iconv
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} \
-e '/^dist_sysconf_DATA = /d' \
-e '/^pkglibbindir = / s| = .*$$| = ${WWWDIR}/cgi-bin|' \
${WRKSRC}/Makefile.in
-.if !${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e '/^SUBDIRS = / s| docs||' ${WRKSRC}/Makefile.in
-.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${MORE_PORTDOCS} ${STAGEDIR}${DOCSDIR}/
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
-.endif
.include <bsd.port.mk>
diff --git a/www/xapian-omega/distinfo b/www/xapian-omega/distinfo
index e3657e32e68a..85d4559d65c8 100644
--- a/www/xapian-omega/distinfo
+++ b/www/xapian-omega/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xapian-omega-1.2.15.tar.gz) = 3c51bbce59e8d18459983e10046183f42eb5ee79b5143ea612c27f1cd6338b9d
-SIZE (xapian-omega-1.2.15.tar.gz) = 627733
+SHA256 (xapian-omega-1.2.16.tar.xz) = 63df364780b3c5dd0242dccc6d1dc5059292077cc1e2746f38d5f3695ab7fabe
+SIZE (xapian-omega-1.2.16.tar.xz) = 417224
diff --git a/www/xapian-omega/pkg-plist b/www/xapian-omega/pkg-plist
index ac7328939dd1..edf13e7afaa5 100644
--- a/www/xapian-omega/pkg-plist
+++ b/www/xapian-omega/pkg-plist
@@ -5,10 +5,11 @@ bin/omindex
bin/scriptindex
man/man1/omindex.1.gz
man/man1/scriptindex.1.gz
-share/omega/htdig2omega.script
-share/omega/mbox2omega.script
+%%DATADIR%%/omega/htdig2omega.script
+%%DATADIR%%/omega/mbox2omega.script
%%WWWDIR%%/cgi-bin/omega
%%WWWDIR%%/cgi-bin/outlookmsg2html
@dirrm %%WWWDIR%%/cgi-bin
@dirrm %%WWWDIR%%
-@dirrm share/omega
+@dirrm %%DATADIR%%/omega
+@dirrm %%DATADIR%%