41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# Ports collection makefile for: couchdb
|
|
# Date created: 17 Nov 2007
|
|
# Whom: Ditesh Shashikant Gathani <ditesh@gathani.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= couchdb
|
|
PORTVERSION= 0.9.0
|
|
PORTEPOCH= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_APACHE}
|
|
MASTER_SITE_SUBDIR= couchdb/${PORTVERSION}
|
|
DISTNAME= apache-couchdb-${PORTVERSION}
|
|
|
|
MAINTAINER= till@php.net
|
|
COMMENT= A document database server, accessible via a RESTful JSON API
|
|
|
|
LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu \
|
|
js:${PORTSDIR}/lang/spidermonkey \
|
|
curl.5:${PORTSDIR}/ftp/curl
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/erlang/usr/include/erl_driver.h:${PORTSDIR}/lang/erlang-lite
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS= --with-erlang=${LOCALBASE}/lib/erlang/usr/include \
|
|
--localstatedir=/var \
|
|
--disable-init \
|
|
--with-js-include=${LOCALBASE}/include \
|
|
--with-js-lib=${LOCALBASE}/lib
|
|
|
|
MAN1= couchdb.1 couchjs.1
|
|
|
|
post-patch:
|
|
.if defined(NOPORTDOCS)
|
|
@${REINPLACE_CMD} -e 's/install-data-am$$//' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|