chrisz 2dd0fda6b6 Update OCaml to 4.09
reviewed ports wise and help with @pkgpath, ok by sthen@
reviewed and help with bytecode-only plists, minor nits and ok by jca@
tested on sparc 64 by @jca
tested on aarch64 by Kurt Miller
tested on amd64 by me

Thanks for reviews and testing!
2019-09-26 09:46:09 +00:00

32 lines
813 B
Makefile

# $OpenBSD: Makefile,v 1.16 2019/09/26 09:46:10 chrisz Exp $
COMMENT = OCaml Perl-compatible regexp library
CATEGORIES = devel textproc
V = 7.2.3
NAME = ocaml-pcre
DISTNAME = pcre-ocaml-$V
PKGNAME = ${NAME}-$V
MASTER_SITES = https://github.com/mmottl/pcre-ocaml/releases/download/v${V}/
HOMEPAGE = https://github.com/mmottl/pcre-ocaml
REVISION = 2
# GPLv2+
PERMIT_PACKAGE = Yes
MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib devel/ocaml-ocamlbuild
LIB_DEPENDS = devel/pcre
WANTLIB = pcre
CONFIGURE_STYLE = oasis
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${NAME}
@cp -R ${WRKDIST}/examples/* ${PREFIX}/share/examples/${NAME}/
${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/${NAME}/
@chmod -R u=rwX,go=rX ${PREFIX}/share/examples/${NAME}/*
.include <bsd.port.mk>