2020-10-07 12:35:21 +00:00

33 lines
648 B
Makefile

# $OpenBSD: Makefile,v 1.10 2020/10/07 12:35:21 daniel Exp $
V = 7.13
COMMENT = OCaml Preprocessor and Pretty-Printer
DISTFILES = camlp5-rel${V}{rel${V:S/.//}}${EXTRACT_SUFX}
PKGNAME = ocaml-camlp5-${V}
CATEGORIES = lang
HOMEPAGE = https://camlp5.github.io/
MAINTAINER = Christopher Zimmermann <chrisz@openbsd.org>
# BSD
PERMIT_PACKAGE = Yes
WANTLIB += c m
MASTER_SITES = https://github.com/camlp5/camlp5/archive/
MODULES = lang/ocaml
CONFIGURE_STYLE = simple
ALL_TARGET = world
.include <bsd.port.arch.mk>
.if ${PROPERTIES:Mocaml_native}
ALL_TARGET += opt opt.opt
.endif
WRKDIST = ${WRKDIR}/camlp5-rel${V:S/.//}
.include <bsd.port.mk>