freebsd-ports/databases/xapian-core/Makefile
2012-07-07 06:54:50 +00:00

54 lines
1.1 KiB
Makefile

# New ports collection makefile for: xapian-core
# Date created: 5 November 2005
# Whom: J.F. Dockes
#
# $FreeBSD$
#
PORTNAME= xapian-core
PORTVERSION= 1.2.12
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A probabilistic text search database engine
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS SSE2
SSE2_DESC= Use SSE2 for floating point
PORTSCOUT= limitw:1,even
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN1= xapian-check.1 \
xapian-chert-update.1 \
xapian-compact.1 \
xapian-config.1 \
xapian-inspect.1 \
xapian-progsrv.1 \
xapian-replicate.1 \
xapian-replicate-server.1 \
xapian-tcpsrv.1
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MSSE2)
CONFIGURE_ARGS+=--disable-sse
.endif
post-patch:
.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| docs||' ${WRKSRC}/Makefile.in
.endif
post-install:
.for file in copydatabase delve quest
${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/${file} ${PREFIX}/bin/xapian-${file}
.endfor
.include <bsd.port.mk>