openbsd-ports/devel/erl-ejson/Makefile
2013-03-11 10:50:00 +00:00

31 lines
661 B
Makefile

# $OpenBSD: Makefile,v 1.4 2013/03/11 10:50:03 espie Exp $
COMMENT= decode/encode JSON into/from Erlang terms
VERSION= 0.1
DISTNAME= ejson-${VERSION}
PKGNAME= erl-${DISTNAME}
REVISION= 0
CATEGORIES= devel
HOMEPAGE= https://github.com/kevsmith/ejson
# Apache2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://distfiles.nl/
MODULES= lang/erlang
RUN_DEPENDS= www/erl-mochiweb
TEST_TARGET= check
do-install:
${INSTALL_DATA_DIR} ${ERL_LIBDIR}/{ebin,priv,src}
${INSTALL_DATA} ${WRKSRC}/ebin/*.{app,beam} ${ERL_LIBDIR}/ebin/
${INSTALL_DATA} ${WRKSRC}/priv/* ${ERL_LIBDIR}/priv/
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${ERL_LIBDIR}/src/
.include <bsd.port.mk>