Sun Oct 26 11:42:52 2014 UTC ()
Added ocaml-re, a pure OCaml regular expression library.
(jaapb)
diff -r0 -r1.1 pkgsrc/devel/ocaml-re/DESCR
diff -r0 -r1.1 pkgsrc/devel/ocaml-re/Makefile
diff -r0 -r1.1 pkgsrc/devel/ocaml-re/PLIST
diff -r0 -r1.1 pkgsrc/devel/ocaml-re/buildlink3.mk
diff -r0 -r1.1 pkgsrc/devel/ocaml-re/distinfo
Re is a regular expression library for OCaml that does not use C bindings.
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).
# $NetBSD: Makefile,v 1.1 2014/10/26 11:42:52 jaapb Exp $
DISTNAME= ocaml-re-1.2.2
PKGNAME= ${DISTNAME} # avoid prefixing with ocaml-
CATEGORIES= devel
MASTER_SITES= https://github.com/ocaml/ocaml-re/archive/
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://github.com/ocaml/ocaml-re/
COMMENT= Pure OCaml regular expression library
LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= gmake
OCAML_USE_FINDLIB= yes
CONFIGURE_ARGS+= --prefix ${PREFIX}
WRKSRC= ${WRKDIR}/ocaml-re-${DISTNAME}
pre-configure:
cd ${WRKSRC} && gmake setup.bin
do-configure:
cd ${WRKSRC} && ./setup.bin -configure ${CONFIGURE_ARGS}
do-build:
cd ${WRKSRC} && ./setup.bin -build
do-install:
cd ${WRKSRC} && ./setup.bin -install
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2014/10/26 11:42:52 jaapb Exp $
${OCAML_SITELIB}/re/META
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/automata.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/cset.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re.a
${OCAML_SITELIB}/re/re.cma
${OCAML_SITELIB}/re/re.cmi
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re.cmxs
${OCAML_SITELIB}/re/re.mli
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_emacs.a
${OCAML_SITELIB}/re/re_emacs.cma
${OCAML_SITELIB}/re/re_emacs.cmi
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_emacs.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_emacs.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_emacs.cmxs
${OCAML_SITELIB}/re/re_emacs.mli
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_glob.a
${OCAML_SITELIB}/re/re_glob.cma
${OCAML_SITELIB}/re/re_glob.cmi
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_glob.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_glob.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_glob.cmxs
${OCAML_SITELIB}/re/re_glob.mli
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_pcre.a
${OCAML_SITELIB}/re/re_pcre.cma
${OCAML_SITELIB}/re/re_pcre.cmi
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_pcre.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_pcre.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_pcre.cmxs
${OCAML_SITELIB}/re/re_pcre.ml
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_perl.a
${OCAML_SITELIB}/re/re_perl.cma
${OCAML_SITELIB}/re/re_perl.cmi
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_perl.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_perl.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_perl.cmxs
${OCAML_SITELIB}/re/re_perl.mli
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_posix.a
${OCAML_SITELIB}/re/re_posix.cma
${OCAML_SITELIB}/re/re_posix.cmi
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_posix.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_posix.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_posix.cmxs
${OCAML_SITELIB}/re/re_posix.mli
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_str.a
${OCAML_SITELIB}/re/re_str.cma
${OCAML_SITELIB}/re/re_str.cmi
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_str.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_str.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/re/re_str.cmxs
${OCAML_SITELIB}/re/re_str.mli
# $NetBSD: buildlink3.mk,v 1.1 2014/10/26 11:42:52 jaapb Exp $
BUILDLINK_TREE+= ocaml-re
.if !defined(OCAML_RE_BUILDLINK3_MK)
OCAML_RE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-re+= ocaml-re>=1.2.2
BUILDLINK_PKGSRCDIR.ocaml-re?= ../../devel/ocaml-re
.endif # OCAML_RE_BUILDLINK3_MK
BUILDLINK_TREE+= -ocaml-re
$NetBSD: distinfo,v 1.1 2014/10/26 11:42:52 jaapb Exp $
SHA1 (ocaml-re-1.2.2.tar.gz) = 045bf41966f804c5acb3938202130f10fb29020c
RMD160 (ocaml-re-1.2.2.tar.gz) = 4368ea40f328d338d3fb4e84f5820d6bda6fda65
Size (ocaml-re-1.2.2.tar.gz) = 89639 bytes