37 lines
755 B
Makefile
37 lines
755 B
Makefile
# $OpenBSD: Makefile,v 1.8 2015/05/23 16:34:40 czarkoff Exp $
|
|
|
|
COMMENT = enhanced OCaml toplevel
|
|
CATEGORIES = devel
|
|
|
|
V = 1.15
|
|
GH_ACCOUNT = diml
|
|
GH_PROJECT = utop
|
|
GH_TAGNAME = ${V}
|
|
DISTNAME = ${GH_PROJECT}-$V
|
|
|
|
MAINTAINER = Edd Barrett <edd@openbsd.org>
|
|
|
|
# 3-clause BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
CONFIGURE_STYLE = oasis
|
|
CONFIGURE_ARGS += --enable-tests
|
|
|
|
MODULES = lang/ocaml
|
|
RUN_DEPENDS = devel/ocaml-lambda-term
|
|
BUILD_DEPENDS = ${RUN_DEPENDS} sysutils/findlib lang/ocaml-camlp4
|
|
|
|
# silence a warning
|
|
post-extract:
|
|
# already shipped by the OCaml package
|
|
rm ${WRKBUILD}/src/lib/errors.mli
|
|
|
|
post-install:
|
|
${INSTALL_DATA} \
|
|
${WRKDIST}/{LICENSE,CHANGES.md,README.md} \
|
|
${PREFIX}/share/doc/utop/
|
|
gunzip ${PREFIX}/man/*/*.gz
|
|
|
|
|
|
.include <bsd.port.mk>
|