mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
789d75c728
-Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr
63 lines
1.6 KiB
Makefile
63 lines
1.6 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
|
|
PORTREVISION= 1
|
|
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}
|
|
|
|
COUCH_VARDIR?= /var
|
|
COUCH_DBDIR?= ${COUCH_VARDIR}/db/couchdb
|
|
COUCH_LOGDIR?= ${COUCH_VARDIR}/log/couchdb
|
|
COUCH_USER?= couchdb
|
|
|
|
USE_RC_SUBR= couchdb
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:22
|
|
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
|
|
|
|
pre-fetch:
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "If you are upgrading CouchDB, please double-check that the datafile is compatible."
|
|
@${ECHO_MSG} ""
|
|
|
|
post-patch:
|
|
.if defined(NOPORTDOCS)
|
|
@${REINPLACE_CMD} -e 's/install-data-am$$//' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
pre-install:
|
|
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
${MKDIR} ${COUCH_DBDIR}
|
|
${CHOWN} ${COUCH_USER} ${COUCH_DBDIR}
|
|
${CHOWN} ${COUCH_USER} ${COUCH_LOGDIR}
|
|
|
|
.include <bsd.port.mk>
|