summaryrefslogtreecommitdiff
path: root/devel/pcre/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2004-09-28 15:59:49 +0000
committerwiz <wiz>2004-09-28 15:59:49 +0000
commit5a731b0b9f6c2f53306aab5fe4a5b9675c723bda (patch)
tree43b9dc4ed7c72d20f59dfea10f2f9277d72f1deb /devel/pcre/Makefile
parent50e35d26e6117e88f89c1eafcb72f489e8bf74e7 (diff)
downloadpkgsrc-5a731b0b9f6c2f53306aab5fe4a5b9675c723bda.tar.gz
Update to 5.0:
Release 5.0 13-Sep-04 --------------------- The licence under which PCRE is released has been changed to the more conventional "BSD" licence. In the code, some bugs have been fixed, and there are also some major changes in this release (which is why I've increased the number to 5.0). Some changes are internal rearrangements, and some provide a number of new facilities. The new features are: 1. There's an "automatic callout" feature that inserts callouts before every item in the regex, and there's a new callout field that gives the position in the pattern - useful for debugging and tracing. 2. The extra_data structure can now be used to pass in a set of character tables at exec time. This is useful if compiled regex are saved and re-used at a later time when the tables may not be at the same address. If the default internal tables are used, the pointer saved with the compiled pattern is now set to NULL, which means that you don't need to do anything special unless you are using custom tables. 3. It is possible, with some restrictions on the content of the regex, to request "partial" matching. A special return code is given if all of the subject string matched part of the regex. This could be useful for testing an input field as it is being typed. 4. There is now some optional support for Unicode character properties, which means that the patterns items such as \p{Lu} and \X can now be used. Only the general category properties are supported. If PCRE is compiled with this support, an additional 90K data structure is include, which increases the size of the library dramatically. 5. There is support for saving compiled patterns and re-using them later. 6. There is support for running regular expressions that were compiled on a different host with the opposite endianness. 7. The pcretest program has been extended to accommodate the new features. The main internal rearrangement is that sequences of literal characters are no longer handled as strings. Instead, each character is handled on its own. This makes some UTF-8 handling easier, and makes the support of partial matching possible. Compiled patterns containing long literal strings will be larger as a result of this change; I hope that performance will not be much affected.
Diffstat (limited to 'devel/pcre/Makefile')
-rw-r--r--devel/pcre/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile
index 7cb9de9a100..1e449e6a1a6 100644
--- a/devel/pcre/Makefile
+++ b/devel/pcre/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2004/02/14 17:21:39 jlam Exp $
-# FreeBSD Id: Makefile,v 1.1.1.1 1998/07/12 22:59:19 steve Exp $
+# $NetBSD: Makefile,v 1.19 2004/09/28 15:59:49 wiz Exp $
-DISTNAME= pcre-4.5
+DISTNAME= pcre-5.0
CATEGORIES= devel
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \
ftp://pcre.sourceforge.net/pub/pcre/
@@ -17,6 +16,8 @@ USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+PKG_CONFIG_OVERRIDE= libpcre.pc.in
+
TEST_TARGET= test
.include "../../mk/bsd.pkg.mk"