[142327] trunk/dports/devel
sean at macports.org
sean at macports.org
Sat Dec 12 05:17:25 PST 2015
Revision: 142327
https://trac.macports.org/changeset/142327
Author: sean at macports.org
Date: 2015-11-09 15:42:01 -0800 (Mon, 09 Nov 2015)
Log Message:
-----------
pcre2: add new port
Added Paths:
-----------
trunk/dports/devel/pcre2/
trunk/dports/devel/pcre2/Portfile
trunk/dports/devel/pcre2/files/
trunk/dports/devel/pcre2/files/no-darwin-pthread-flag.patch
Added: trunk/dports/devel/pcre2/Portfile
===================================================================
--- trunk/dports/devel/pcre2/Portfile (rev 0)
+++ trunk/dports/devel/pcre2/Portfile 2015-11-09 23:42:01 UTC (rev 142327)
@@ -0,0 +1,55 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name pcre2
+version 10.20
+categories devel
+license BSD
+platforms darwin freebsd
+maintainers nomaintainer
+
+description Perl Compatible Regular Expressions Library
+long_description The PCRE library is a set of functions that \
+ implement regular expression pattern matching \
+ using the same syntax and semantics as Perl 5. \
+ PCRE has its own native API, as well as a set of \
+ wrapper functions that correspond to the POSIX \
+ regular expression API.
+homepage http://www.pcre.org/
+
+depends_lib port:bzip2 \
+ port:libedit \
+ port:zlib
+
+master_sites sourceforge:project/pcre/pcre2/${version} \
+ ftp://ftp.fu-berlin.de/unix/misc/pcre/ \
+ ftp://ftp.tin.org/pub/libs/pcre/ \
+ ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
+use_bzip2 yes
+checksums rmd160 11084c0047df0768299039f620ec408fa04a0a89 \
+ sha256 332e287101c9e9567d1ed55391b338b32f1f72c5b5ee7cc81ef2274a53ad487a
+
+patchfiles no-darwin-pthread-flag.patch
+
+configure.args --disable-silent-rules \
+ --docdir=${prefix}/share/doc/${name} \
+ --enable-jit \
+ --enable-pcre2-16 \
+ --enable-pcre2-32 \
+ --enable-pcre2grep-libbz2 \
+ --enable-pcre2grep-libz \
+ --enable-pcre2test-libedit \
+ --enable-unicode-properties
+
+platform darwin 8 {
+ # ticket #18448
+ if {[variant_isset universal]} {
+ configure.ldflags-append -lncurses
+ }
+}
+
+test.run yes
+
+livecheck.regex /pcre2/(\[a-zA-Z0-9.\]+\\.\[a-zA-Z0-9.\]+)/
Added: trunk/dports/devel/pcre2/files/no-darwin-pthread-flag.patch
===================================================================
--- trunk/dports/devel/pcre2/files/no-darwin-pthread-flag.patch (rev 0)
+++ trunk/dports/devel/pcre2/files/no-darwin-pthread-flag.patch 2015-11-09 23:42:01 UTC (rev 142327)
@@ -0,0 +1,15 @@
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -18586,10 +18586,6 @@ case ${host_os} in
+
+ ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
+ ;;
+-
+- darwin*)
+- ax_pthread_flags="-pthread $ax_pthread_flags"
+- ;;
+ esac
+
+ if test x"$ax_pthread_ok" = xno; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/2b0677e0/attachment-0001.html>
More information about the macports-changes
mailing list