freebsd-ports/devel/ocaml-re/Makefile
Veniamin Gvozdikov 8e300bcd00 New port: devel/ocaml-re
Re is a regular expression library for OCaml.

The following styles of regular expressions are supported:
* Perl-style regular expressions (module Re_perl);
* Posix extended regular expressions (module Re_posix);
* Emacs-style regular expressions (module Re_emacs);
* Shell-style file globbing (module Re_glob).

WWW: https://github.com/ocaml/ocaml-re
2015-08-05 20:41:20 +00:00

32 lines
614 B
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= re
PORTVERSION= 1.4.1
CATEGORIES= devel
PKGNAMEPREFIX= ocaml-
MAINTAINER= vg@FreeBSD.org
COMMENT= Pure OCaml regular expressions
LICENSE= LGPL21
USES= gmake
HAS_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
USE_GITHUB= yes
GH_ACCOUNT= ocaml
GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
GH_TAGNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAMLFIND_PLIST= yes
CONFIGURE_ARGS= --destdir "${DESTDIRNAME}"
do-configure:
cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}
.include <bsd.port.mk>