freebsd-ports/databases/ruby-xapian/Makefile
Sunpoet Po-Chuan Hsieh 32fea503c9 Add ruby to CATEGORIES
2017-05-31 17:29:49 +00:00

39 lines
966 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= xapian
PORTVERSION= 1.4.4
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
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>