aboutsummaryrefslogtreecommitdiff
path: root/www/xapian-omega
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-12-05 20:26:29 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-12-05 20:26:29 +0000
commit316ce1dc7f466b2fa413ae1a92ca32a48c54390a (patch)
tree55b59af2ea58ad8ef1c7fce3ea94dc8f65073b1e /www/xapian-omega
parent6f25f0845cc5bd1b7be67c87c89d2d6feae4f946 (diff)
downloadports-316ce1dc7f466b2fa413ae1a92ca32a48c54390a.tar.gz
ports-316ce1dc7f466b2fa413ae1a92ca32a48c54390a.zip
Notes
Diffstat (limited to 'www/xapian-omega')
-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%%