f1f15b69dc
Please read http://wiki.apache.org/couchdb/Breaking_changes for update instructions. help & ok fgsch@
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2009/04/04 10:12:39 bernd Exp $
|
|
|
|
COMMENT = distributed, document-oriented database
|
|
|
|
COUCH_VER = 0.9.0
|
|
DISTNAME = apache-couchdb-${COUCH_VER}
|
|
CATEGORIES = databases
|
|
|
|
HOMEPAGE = http://incubator.apache.org/couchdb/
|
|
|
|
MAINTAINER = Benoit Chesneau <benoitc@metavers.net>
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = c crypto iconv intl pthread ssl z
|
|
|
|
MASTER_SITES = ${MASTER_SITE_APACHE:=couchdb/${COUCH_VER}/}
|
|
|
|
BUILD_DEPENDS = ::lang/erlang
|
|
RUN_DEPENDS = ::lang/erlang
|
|
LIB_DEPENDS = icudata,icui18n,icuuc::textproc/icu4c \
|
|
js::lang/spidermonkey \
|
|
curl::net/curl \
|
|
idn::devel/libidn
|
|
|
|
MAKE_FLAGS = LDFLAGS="-L${LOCALBASE}/lib -pthread" \
|
|
CFLAGS="-I${LOCALBASE}/include/nspr" \
|
|
localstatelibdir="/var/couchdb" \
|
|
default_sysconf_data=""
|
|
|
|
USE_GMAKE = Yes
|
|
USE_LIBTOOL = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
|
--localstatedir=/var \
|
|
--with-erlang=${LOCALBASE}/lib/erlang/usr/include \
|
|
--with-js-include=${LOCALBASE}/include/js
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
SUBST_VARS += COUCH_VER
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/couchdb
|
|
${INSTALL_DATA} ${WRKBUILD}/etc/couchdb/default.ini \
|
|
${PREFIX}/share/examples/couchdb/default.ini
|
|
${INSTALL_DATA} ${WRKBUILD}/etc/couchdb/local.ini \
|
|
${PREFIX}/share/examples/couchdb/local.ini
|
|
|
|
.include <bsd.port.mk>
|