summaryrefslogtreecommitdiff
path: root/devel/pcre2
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-04-19 19:18:22 +0000
committerwiz <wiz@pkgsrc.org>2015-04-19 19:18:22 +0000
commit66df665cfa80969fdf06174fa712db264ec876f4 (patch)
tree23bd3373dcbf2ef5a67ebb624bfe6621512026ab /devel/pcre2
parentdfa5b0341f251a177dcd3cd752a26289bbbf8a7a (diff)
downloadpkgsrc-66df665cfa80969fdf06174fa712db264ec876f4.tar.gz
Import pcre2-10.10 as devel/pcre2.
PCRE2 is a re-working of the original PCRE library to provide an entirely new API. PCRE2 is written in C, and it has its own API. There are three sets of functions, one for the 8-bit library, which processes strings of bytes, one for the 16-bit library, which processes strings of 16-bit values, and one for the 32-bit library, which processes strings of 32-bit values. There are no C++ wrappers.
Diffstat (limited to 'devel/pcre2')
-rw-r--r--devel/pcre2/DESCR8
-rw-r--r--devel/pcre2/Makefile25
-rw-r--r--devel/pcre2/PLIST175
-rw-r--r--devel/pcre2/buildlink3.mk12
-rw-r--r--devel/pcre2/distinfo5
5 files changed, 225 insertions, 0 deletions
diff --git a/devel/pcre2/DESCR b/devel/pcre2/DESCR
new file mode 100644
index 00000000000..e41d6269641
--- /dev/null
+++ b/devel/pcre2/DESCR
@@ -0,0 +1,8 @@
+PCRE2 is a re-working of the original PCRE library to provide an entirely new
+API.
+
+PCRE2 is written in C, and it has its own API. There are three sets of
+functions, one for the 8-bit library, which processes strings of bytes, one for
+the 16-bit library, which processes strings of 16-bit values, and one for the
+32-bit library, which processes strings of 32-bit values. There are no C++
+wrappers.
diff --git a/devel/pcre2/Makefile b/devel/pcre2/Makefile
new file mode 100644
index 00000000000..863c28739a7
--- /dev/null
+++ b/devel/pcre2/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2015/04/19 19:18:22 wiz Exp $
+
+DISTNAME= pcre2-10.10
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \
+ ${MASTER_SITE_SOURCEFORGE:=pcre/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.pcre.org/
+COMMENT= Perl Compatible Regular Expressions library (major version 2)
+LICENSE= modified-bsd
+
+USE_LANGUAGES= c
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+PKGCONFIG_OVERRIDE+= libpcre2-16.pc.in
+PKGCONFIG_OVERRIDE+= libpcre2-posix.pc.in
+PKGCONFIG_OVERRIDE+= libpcre2-8.pc.in
+PKGCONFIG_OVERRIDE+= libpcre2-32.pc.in
+
+TEST_TARGET= check
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/pcre2/PLIST b/devel/pcre2/PLIST
new file mode 100644
index 00000000000..153a2033126
--- /dev/null
+++ b/devel/pcre2/PLIST
@@ -0,0 +1,175 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/19 19:18:22 wiz Exp $
+bin/pcre2-config
+bin/pcre2grep
+bin/pcre2test
+include/pcre2.h
+include/pcre2posix.h
+lib/libpcre2-8.la
+lib/libpcre2-posix.la
+lib/pkgconfig/libpcre2-8.pc
+lib/pkgconfig/libpcre2-posix.pc
+man/man1/pcre2-config.1
+man/man1/pcre2grep.1
+man/man1/pcre2test.1
+man/man3/pcre2.3
+man/man3/pcre2_code_free.3
+man/man3/pcre2_compile.3
+man/man3/pcre2_compile_context_copy.3
+man/man3/pcre2_compile_context_create.3
+man/man3/pcre2_compile_context_free.3
+man/man3/pcre2_config.3
+man/man3/pcre2_dfa_match.3
+man/man3/pcre2_general_context_copy.3
+man/man3/pcre2_general_context_create.3
+man/man3/pcre2_general_context_free.3
+man/man3/pcre2_get_error_message.3
+man/man3/pcre2_get_mark.3
+man/man3/pcre2_get_ovector_count.3
+man/man3/pcre2_get_ovector_pointer.3
+man/man3/pcre2_get_startchar.3
+man/man3/pcre2_jit_compile.3
+man/man3/pcre2_jit_free_unused_memory.3
+man/man3/pcre2_jit_match.3
+man/man3/pcre2_jit_stack_assign.3
+man/man3/pcre2_jit_stack_create.3
+man/man3/pcre2_jit_stack_free.3
+man/man3/pcre2_maketables.3
+man/man3/pcre2_match.3
+man/man3/pcre2_match_context_copy.3
+man/man3/pcre2_match_context_create.3
+man/man3/pcre2_match_context_free.3
+man/man3/pcre2_match_data_create.3
+man/man3/pcre2_match_data_create_from_pattern.3
+man/man3/pcre2_match_data_free.3
+man/man3/pcre2_pattern_info.3
+man/man3/pcre2_serialize_decode.3
+man/man3/pcre2_serialize_encode.3
+man/man3/pcre2_serialize_free.3
+man/man3/pcre2_serialize_get_number_of_codes.3
+man/man3/pcre2_set_bsr.3
+man/man3/pcre2_set_callout.3
+man/man3/pcre2_set_character_tables.3
+man/man3/pcre2_set_compile_recursion_guard.3
+man/man3/pcre2_set_match_limit.3
+man/man3/pcre2_set_newline.3
+man/man3/pcre2_set_parens_nest_limit.3
+man/man3/pcre2_set_recursion_limit.3
+man/man3/pcre2_set_recursion_memory_management.3
+man/man3/pcre2_substitute.3
+man/man3/pcre2_substring_copy_byname.3
+man/man3/pcre2_substring_copy_bynumber.3
+man/man3/pcre2_substring_free.3
+man/man3/pcre2_substring_get_byname.3
+man/man3/pcre2_substring_get_bynumber.3
+man/man3/pcre2_substring_length_byname.3
+man/man3/pcre2_substring_length_bynumber.3
+man/man3/pcre2_substring_list_free.3
+man/man3/pcre2_substring_list_get.3
+man/man3/pcre2_substring_nametable_scan.3
+man/man3/pcre2_substring_number_from_name.3
+man/man3/pcre2api.3
+man/man3/pcre2build.3
+man/man3/pcre2callout.3
+man/man3/pcre2compat.3
+man/man3/pcre2demo.3
+man/man3/pcre2jit.3
+man/man3/pcre2limits.3
+man/man3/pcre2matching.3
+man/man3/pcre2partial.3
+man/man3/pcre2pattern.3
+man/man3/pcre2perform.3
+man/man3/pcre2posix.3
+man/man3/pcre2sample.3
+man/man3/pcre2serialize.3
+man/man3/pcre2stack.3
+man/man3/pcre2syntax.3
+man/man3/pcre2unicode.3
+share/doc/pcre2/AUTHORS
+share/doc/pcre2/COPYING
+share/doc/pcre2/ChangeLog
+share/doc/pcre2/LICENCE
+share/doc/pcre2/NEWS
+share/doc/pcre2/README
+share/doc/pcre2/html/NON-AUTOTOOLS-BUILD.txt
+share/doc/pcre2/html/README.txt
+share/doc/pcre2/html/index.html
+share/doc/pcre2/html/pcre2-config.html
+share/doc/pcre2/html/pcre2.html
+share/doc/pcre2/html/pcre2_code_free.html
+share/doc/pcre2/html/pcre2_compile.html
+share/doc/pcre2/html/pcre2_compile_context_copy.html
+share/doc/pcre2/html/pcre2_compile_context_create.html
+share/doc/pcre2/html/pcre2_compile_context_free.html
+share/doc/pcre2/html/pcre2_config.html
+share/doc/pcre2/html/pcre2_dfa_match.html
+share/doc/pcre2/html/pcre2_general_context_copy.html
+share/doc/pcre2/html/pcre2_general_context_create.html
+share/doc/pcre2/html/pcre2_general_context_free.html
+share/doc/pcre2/html/pcre2_get_error_message.html
+share/doc/pcre2/html/pcre2_get_mark.html
+share/doc/pcre2/html/pcre2_get_ovector_count.html
+share/doc/pcre2/html/pcre2_get_ovector_pointer.html
+share/doc/pcre2/html/pcre2_get_startchar.html
+share/doc/pcre2/html/pcre2_jit_compile.html
+share/doc/pcre2/html/pcre2_jit_free_unused_memory.html
+share/doc/pcre2/html/pcre2_jit_match.html
+share/doc/pcre2/html/pcre2_jit_stack_assign.html
+share/doc/pcre2/html/pcre2_jit_stack_create.html
+share/doc/pcre2/html/pcre2_jit_stack_free.html
+share/doc/pcre2/html/pcre2_maketables.html
+share/doc/pcre2/html/pcre2_match.html
+share/doc/pcre2/html/pcre2_match_context_copy.html
+share/doc/pcre2/html/pcre2_match_context_create.html
+share/doc/pcre2/html/pcre2_match_context_free.html
+share/doc/pcre2/html/pcre2_match_data_create.html
+share/doc/pcre2/html/pcre2_match_data_create_from_pattern.html
+share/doc/pcre2/html/pcre2_match_data_free.html
+share/doc/pcre2/html/pcre2_pattern_info.html
+share/doc/pcre2/html/pcre2_serialize_decode.html
+share/doc/pcre2/html/pcre2_serialize_encode.html
+share/doc/pcre2/html/pcre2_serialize_free.html
+share/doc/pcre2/html/pcre2_serialize_get_number_of_codes.html
+share/doc/pcre2/html/pcre2_set_bsr.html
+share/doc/pcre2/html/pcre2_set_callout.html
+share/doc/pcre2/html/pcre2_set_character_tables.html
+share/doc/pcre2/html/pcre2_set_compile_recursion_guard.html
+share/doc/pcre2/html/pcre2_set_match_limit.html
+share/doc/pcre2/html/pcre2_set_newline.html
+share/doc/pcre2/html/pcre2_set_parens_nest_limit.html
+share/doc/pcre2/html/pcre2_set_recursion_limit.html
+share/doc/pcre2/html/pcre2_set_recursion_memory_management.html
+share/doc/pcre2/html/pcre2_substitute.html
+share/doc/pcre2/html/pcre2_substring_copy_byname.html
+share/doc/pcre2/html/pcre2_substring_copy_bynumber.html
+share/doc/pcre2/html/pcre2_substring_free.html
+share/doc/pcre2/html/pcre2_substring_get_byname.html
+share/doc/pcre2/html/pcre2_substring_get_bynumber.html
+share/doc/pcre2/html/pcre2_substring_length_byname.html
+share/doc/pcre2/html/pcre2_substring_length_bynumber.html
+share/doc/pcre2/html/pcre2_substring_list_free.html
+share/doc/pcre2/html/pcre2_substring_list_get.html
+share/doc/pcre2/html/pcre2_substring_nametable_scan.html
+share/doc/pcre2/html/pcre2_substring_number_from_name.html
+share/doc/pcre2/html/pcre2api.html
+share/doc/pcre2/html/pcre2build.html
+share/doc/pcre2/html/pcre2callout.html
+share/doc/pcre2/html/pcre2compat.html
+share/doc/pcre2/html/pcre2demo.html
+share/doc/pcre2/html/pcre2grep.html
+share/doc/pcre2/html/pcre2jit.html
+share/doc/pcre2/html/pcre2limits.html
+share/doc/pcre2/html/pcre2matching.html
+share/doc/pcre2/html/pcre2partial.html
+share/doc/pcre2/html/pcre2pattern.html
+share/doc/pcre2/html/pcre2perform.html
+share/doc/pcre2/html/pcre2posix.html
+share/doc/pcre2/html/pcre2sample.html
+share/doc/pcre2/html/pcre2serialize.html
+share/doc/pcre2/html/pcre2stack.html
+share/doc/pcre2/html/pcre2syntax.html
+share/doc/pcre2/html/pcre2test.html
+share/doc/pcre2/html/pcre2unicode.html
+share/doc/pcre2/pcre2-config.txt
+share/doc/pcre2/pcre2.txt
+share/doc/pcre2/pcre2grep.txt
+share/doc/pcre2/pcre2test.txt
diff --git a/devel/pcre2/buildlink3.mk b/devel/pcre2/buildlink3.mk
new file mode 100644
index 00000000000..222865c0dfb
--- /dev/null
+++ b/devel/pcre2/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/04/19 19:18:22 wiz Exp $
+
+BUILDLINK_TREE+= pcre2
+
+.if !defined(PCRE2_BUILDLINK3_MK)
+PCRE2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.pcre2+= pcre2>=10.10
+BUILDLINK_PKGSRCDIR.pcre2?= ../../devel/pcre2
+.endif # PCRE2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -pcre2
diff --git a/devel/pcre2/distinfo b/devel/pcre2/distinfo
new file mode 100644
index 00000000000..5a49df69f55
--- /dev/null
+++ b/devel/pcre2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/19 19:18:22 wiz Exp $
+
+SHA1 (pcre2-10.10.tar.bz2) = a27c0beb6bfb828586d22769f5111183122ab42d
+RMD160 (pcre2-10.10.tar.bz2) = 0b1c4554c312faeca3e207ebd0ad60f9cf5d9f1f
+Size (pcre2-10.10.tar.bz2) = 1339199 bytes