mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
88d1cdc90f
- Support STAGEDIR
42 lines
854 B
Makefile
42 lines
854 B
Makefile
# Created by: J.F. Dockes
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xapian-core
|
|
PORTVERSION= 1.2.15
|
|
PORTEPOCH= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= 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
|
|
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if !${PORT_OPTIONS:MSSE2}
|
|
CONFIGURE_ARGS+=--disable-sse
|
|
.endif
|
|
|
|
post-patch:
|
|
.if !${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} ${STAGEDIR}${PREFIX}/bin/xapian-${file}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|