431d57e4fc
Depsolver is a dependency solver package for erlang. You supply it with a list of versioned objects that are in the world and then you can solve for different version constraints. ok aja@
34 lines
734 B
Makefile
34 lines
734 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/08 11:53:27 jasper Exp $
|
|
|
|
COMMENT= Erlang dependency solver
|
|
|
|
VERSION= 0.1.0a
|
|
DISTNAME= depsolver-${VERSION}
|
|
PKGNAME= erl-${DISTNAME}
|
|
CATEGORIES= devel lang/erlang
|
|
|
|
HOMEPAGE= https://github.com/opscode/depsolver
|
|
|
|
# Apache2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
TAR= ${LOCALBASE}/bin/gtar
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
ALL_TARGET= compile
|
|
REGRESS_TARGET= eunit
|
|
|
|
ERL_LIBDIR= ${PREFIX}/lib/erlang/lib/${DISTNAME}
|
|
SUBST_VARS+= VERSION
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${ERL_LIBDIR}/{ebin,src}
|
|
${INSTALL_DATA} ${WRKSRC}/ebin/*.{app,beam} ${ERL_LIBDIR}/ebin/
|
|
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${ERL_LIBDIR}/src
|
|
|
|
.include <bsd.port.mk>
|