openbsd-ports/databases/erl-couchbeam/Makefile
2013-03-11 02:52:04 +00:00

36 lines
799 B
Makefile

# $OpenBSD: Makefile,v 1.5 2013/03/11 02:52:04 espie Exp $
COMMENT= Erlang CouchDB framework
VERSION= 0.6.0
DISTNAME= couchbeam-${VERSION}
PKGNAME= erl-${DISTNAME}
REVISION= 0
CATEGORIES= databases
HOMEPAGE= https://github.com/opscode/couchbeam
# MIT
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://distfiles.nl/
MODULES= lang/erlang
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/erl-ejson \
net/erl-ibrowse \
security/erl-oauth \
www/erl-mochiweb
# needs a running couchdb instance
TEST_IS_INTERACTIVE= Yes
do-install:
${INSTALL_DATA_DIR} ${ERL_LIBDIR}/{ebin,include,src}
${INSTALL_DATA} ${WRKSRC}/ebin/*.{app,beam} ${ERL_LIBDIR}/ebin/
${INSTALL_DATA} ${WRKSRC}/include/*.hrl ${ERL_LIBDIR}/include
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${ERL_LIBDIR}/src/
.include <bsd.port.mk>