summaryrefslogtreecommitdiff
path: root/devel/pcre-ocaml
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-20 14:22:04 +0000
committerrillig <rillig@pkgsrc.org>2006-05-20 14:22:04 +0000
commitdcfc9ece8f6c9dae3026718dda3d1f66d5ee527e (patch)
tree97baac9c17ff4b187f85bd942c0faa893f41069b /devel/pcre-ocaml
parent7d33272f2d4e8e946e365a2fe88c7a9471f1413d (diff)
downloadpkgsrc-dcfc9ece8f6c9dae3026718dda3d1f66d5ee527e.tar.gz
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.
Diffstat (limited to 'devel/pcre-ocaml')
-rw-r--r--devel/pcre-ocaml/DESCR3
-rw-r--r--devel/pcre-ocaml/Makefile24
-rw-r--r--devel/pcre-ocaml/PLIST24
-rw-r--r--devel/pcre-ocaml/distinfo5
4 files changed, 56 insertions, 0 deletions
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