2021-12-10 04:10:59 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2021/12/10 04:11:00 daniel Exp $
|
2018-01-31 00:21:41 +00:00
|
|
|
|
2021-12-02 03:59:19 +00:00
|
|
|
V = 7.14
|
2018-01-31 00:21:41 +00:00
|
|
|
COMMENT = OCaml Preprocessor and Pretty-Printer
|
|
|
|
DISTFILES = camlp5-rel${V}{rel${V:S/.//}}${EXTRACT_SUFX}
|
|
|
|
PKGNAME = ocaml-camlp5-${V}
|
|
|
|
CATEGORIES = lang
|
2021-12-10 04:10:59 +00:00
|
|
|
REVISION = 0
|
2018-01-31 00:21:41 +00:00
|
|
|
|
|
|
|
HOMEPAGE = https://camlp5.github.io/
|
2019-08-24 16:38:09 +00:00
|
|
|
MAINTAINER = Christopher Zimmermann <chrisz@openbsd.org>
|
2018-01-31 00:21:41 +00:00
|
|
|
|
|
|
|
# BSD
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2018-01-31 00:21:41 +00:00
|
|
|
|
2020-02-18 22:45:52 +00:00
|
|
|
WANTLIB += c m
|
2018-01-31 00:21:41 +00:00
|
|
|
|
|
|
|
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>
|