openbsd-ports/net/erl-amqp_client/Makefile
2013-03-11 11:35:43 +00:00

35 lines
784 B
Makefile

# $OpenBSD: Makefile,v 1.5 2013/03/11 11:35:46 espie Exp $
COMMENT= stripped down distribution of the rabbitmq-erlang client
VERSION= 0.0.0.0
DISTNAME= amqp_client-${VERSION}
PKGNAME= erl-${DISTNAME}
REVISION= 0
CATEGORIES= net
HOMEPAGE= https://github.com/seth/amqp_client
# Apache2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://distfiles.nl/
BUILD_DEPENDS= net/erl-rabbit_common
RUN_DEPENDS= net/erl-rabbit_common
NO_TEST= Yes
MODULES= lang/erlang
do-build:
cd ${WRKSRC} && ${REBAR_BIN} compile
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>