freebsd-ports/databases/ruby-xapian/Makefile
2017-10-16 17:46:13 +00:00

41 lines
1,004 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= xapian
PORTVERSION= 1.4.5
DISTVERSIONPREFIX= bindings-
CATEGORIES= databases ruby
MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \
LOCAL/sunpoet
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Ruby binding for Xapian
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xapian-core>=${PORTVERSION}:databases/xapian-core
LIB_DEPENDS= libxapian.so:databases/xapian-core
CONFLICTS_INSTALL= xapian-bindings12
OPTIONS_DEFINE= DOCS
PORTSCOUT= limitw:1,even
CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \
--enable-static --with-ruby \
--without-csharp --without-java --without-lua --without-perl \
--without-php --without-python --without-python3 --without-tcl
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_RUBY= yes
USES= libtool tar:xz
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure
.include <bsd.port.mk>