2013-03-11 09:02:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2013/03/11 13:02:16 jasper Exp $
|
2013-03-08 06:53:57 -05:00
|
|
|
|
|
|
|
COMMENT= module for working with Erlang terms representing JSON
|
|
|
|
|
|
|
|
VERSION= 0.0.2.1
|
|
|
|
DISTNAME= ej-${VERSION}
|
|
|
|
PKGNAME= erl-${DISTNAME}
|
2013-03-10 15:20:06 -04:00
|
|
|
REVISION= 0
|
|
|
|
CATEGORIES= devel
|
2013-03-08 06:53:57 -05:00
|
|
|
|
|
|
|
HOMEPAGE= https://github.com/seth/ej
|
|
|
|
|
|
|
|
# Apache2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
|
|
|
2013-03-10 15:20:06 -04:00
|
|
|
MODULES= lang/erlang
|
2013-03-08 06:53:57 -05:00
|
|
|
|
2013-03-11 09:02:16 -04:00
|
|
|
ERL_APP_SUBST= Yes
|
2013-03-08 06:53:57 -05:00
|
|
|
|
|
|
|
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>
|