avsm c080173e33 update to ocaml-dose-3.3
Includes local patches for OPAM compatibility, as with the previous version

ok jca@, tested by krw@ daniel@ jsg@
2015-08-30 15:56:12 +00:00

58 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2015/08/30 15:56:12 avsm Exp $
COMMENT = software repository analysis in OCaml
CATEGORIES = devel
VERSION = 3.3
DISTNAME = dose3-${VERSION}
PKGNAME = ocaml-dose-${VERSION}
REVISION = 0
HOMEPAGE = http://dose.gforge.inria.fr/public_html/
MAINTAINER = Christopher Zimmermann <chrisz@openbsd.org>
# LGPLv3+
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://gforge.inria.fr/frs/download.php/file/34277/
MODULES = lang/ocaml
WANTLIB = c m
BUILD_DEPENDS = sysutils/findlib \
lang/ocaml-camlp4 \
devel/ounit \
devel/cudf,-ocaml \
devel/ocaml-extlib \
devel/ocaml-graph \
devel/ocaml-pcre \
devel/cudf,-main \
devel/ocaml-re
FAKE_FLAGS = BINDIR=${WRKINST}/${PREFIX}/bin
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-ocamlgraph --with-oUnit
#doc seems broken, needs texlive_texmf-full, graphviz and hevea
ALL_TARGET = all
post-extract:
#rm ${WRKSRC}/doseparse/boilerplateNoRpm.ml
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/manpages/*.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/manpages/*.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/doc/manpages/*.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocaml-dose3
${INSTALL_DATA} \
${WRKSRC}/{CHANGES,CREDITS,README.architecture,TODO} \
${PREFIX}/share/doc/ocaml-dose3/
.include <bsd.port.mk>