openbsd-ports/devel/ocaml-lambda-term/Makefile

42 lines
925 B
Makefile

# $OpenBSD: Makefile,v 1.7 2013/01/10 18:55:30 chrisz Exp $
COMMENT = library for manipulating the terminal
CATEGORIES = devel
# also adapt MASTER_SITES when changing the version!
DISTNAME = lambda-term-1.3
REVISION = 0
PKGNAME = ocaml-${DISTNAME}
MASTER_SITES = http://forge.ocamlcore.org/frs/download.php/1034/
HOMEPAGE = http://forge.ocamlcore.org/projects/lambda-term
# BSD3
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
WANTLIB = c ev m pthread charset
MODULES = lang/ocaml converters/libiconv
BUILD_DEPENDS = devel/ocaml-lwt devel/ocaml-zed
RUN_DEPENDS = devel/ocaml-lwt devel/ocaml-zed
LIB_DEPENDS = devel/libev
CONFIGURE_STYLE = oasis
pre-configure:
${SUBST_CMD} ${WRKSRC}/{_oasis,myocamlbuild.ml,setup.ml}
post-install:
${INSTALL_DATA} \
${WRKDIST}/{LICENSE,CHANGES} \
${PREFIX}/share/doc/ocaml-lambda-term/
.include <bsd.port.mk>