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

27 lines
573 B
Makefile

# $OpenBSD: Makefile,v 1.5 2013/03/11 02:52:04 espie Exp $
COMMENT= Erlang MySQL driver
VERSION= 0.2.14
DISTNAME= Emysql-${VERSION}
PKGNAME= erl-${DISTNAME}
REVISION= 0
CATEGORIES= databases
# MIT
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://distfiles.nl/
MODULES= lang/erlang
NO_TEST= 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>