From 2622930430565477b78337149dc87d3696513116 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 20 May 2006 14:22:04 +0000 Subject: Imported pcre-ocaml. This OCaml-library interfaces the PCRE (Perl-compatible regular expressions) library which is written in C. it can be used for matching regular expressions which are written in "Perl"-style. --- devel/pcre-ocaml/DESCR | 3 +++ devel/pcre-ocaml/Makefile | 24 ++++++++++++++++++++++++ devel/pcre-ocaml/PLIST | 24 ++++++++++++++++++++++++ devel/pcre-ocaml/distinfo | 5 +++++ 4 files changed, 56 insertions(+) create mode 100644 devel/pcre-ocaml/DESCR create mode 100644 devel/pcre-ocaml/Makefile create mode 100644 devel/pcre-ocaml/PLIST create mode 100644 devel/pcre-ocaml/distinfo (limited to 'devel') diff --git a/devel/pcre-ocaml/DESCR b/devel/pcre-ocaml/DESCR new file mode 100644 index 00000000000..99eaad19245 --- /dev/null +++ b/devel/pcre-ocaml/DESCR @@ -0,0 +1,3 @@ +This OCaml-library interfaces the PCRE (Perl-compatible regular +expressions) library which is written in C. it can be used for matching +regular expressions which are written in "Perl"-style. diff --git a/devel/pcre-ocaml/Makefile b/devel/pcre-ocaml/Makefile new file mode 100644 index 00000000000..4adf6ebacd0 --- /dev/null +++ b/devel/pcre-ocaml/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/05/20 14:22:04 rillig Exp $ +# + +DISTNAME= pcre-ocaml-5.10.3 +CATEGORIES= devel +MASTER_SITES= http://www.ocaml.info/ocaml_sources/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= rillig@NetBSD.org +HOMEPAGE= http://www.ocaml.info/ocaml_sources/ +COMMENT= Perl compatible regular expressions for OCaml + +BUILD_DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib +USE_TOOLS+= gmake + +EGDIR= ${PREFIX}/share/examples/pcre-ocaml +INSTALLATION_DIRS= ${EGDIR} + +post-install: + cd ${WRKSRC}/examples && ${PAX} -rw -pm . ${EGDIR} + +.include "../../devel/pcre/buildlink3.mk" +.include "../../lang/ocaml/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/pcre-ocaml/PLIST b/devel/pcre-ocaml/PLIST new file mode 100644 index 00000000000..829fffbebe1 --- /dev/null +++ b/devel/pcre-ocaml/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/20 14:22:04 rillig Exp $ +lib/ocaml/site-lib/pcre/META +lib/ocaml/site-lib/pcre/dllpcre_stubs.so +lib/ocaml/site-lib/pcre/libpcre_stubs.a +lib/ocaml/site-lib/pcre/pcre.a +lib/ocaml/site-lib/pcre/pcre.cma +lib/ocaml/site-lib/pcre/pcre.cmi +lib/ocaml/site-lib/pcre/pcre.cmxa +lib/ocaml/site-lib/pcre/pcre.mli +share/examples/pcre-ocaml/cloc/Makefile +share/examples/pcre-ocaml/cloc/README +share/examples/pcre-ocaml/cloc/cloc.ml +share/examples/pcre-ocaml/count_hash/Makefile +share/examples/pcre-ocaml/count_hash/README +share/examples/pcre-ocaml/count_hash/count_hash.ml +share/examples/pcre-ocaml/pcregrep/Makefile +share/examples/pcre-ocaml/pcregrep/README +share/examples/pcre-ocaml/pcregrep/pcregrep.ml +share/examples/pcre-ocaml/subst/Makefile +share/examples/pcre-ocaml/subst/README +share/examples/pcre-ocaml/subst/subst.ml +@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/pcre +@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/pcre +@dirrm lib/ocaml/site-lib/pcre diff --git a/devel/pcre-ocaml/distinfo b/devel/pcre-ocaml/distinfo new file mode 100644 index 00000000000..b50cfe50325 --- /dev/null +++ b/devel/pcre-ocaml/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/05/20 14:22:04 rillig Exp $ + +SHA1 (pcre-ocaml-5.10.3.tar.bz2) = 5c255ea0562f7690f8a8b86aeb902a89b76a07cd +RMD160 (pcre-ocaml-5.10.3.tar.bz2) = 4b6c37ad220f75d04ce5f2baee590e44c1fc72e9 +Size (pcre-ocaml-5.10.3.tar.bz2) = 46354 bytes -- cgit v1.2.3