# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=portfile:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name pcre version 8.31 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/ use_bzip2 yes master_sites ftp://ftp.fu-berlin.de/unix/misc/${name}/ \ ftp://ftp.tin.org/pub/libs/${name}/ \ ftp://ftp.csx.cam.ac.uk/pub/software/programming/${name}/ \ sourceforge:project/pcre/pcre/${version} checksums rmd160 212fbf09d1694167fd27805c4e885628c2c4e5c7 \ sha256 5778a02535473c7ee7838ea598c19f451e63cf5eec0bf0307a688301c9078c3c depends_lib port:libedit \ port:zlib \ port:bzip2 configure.args --docdir=${prefix}/share/doc/${name} \ --enable-unicode-properties \ --enable-pcretest-libedit \ --enable-pcregrep-libz \ --enable-pcregrep-libbz2 platform darwin 8 { # ticket #18448 if {[variant_isset universal]} { configure.ldflags-append -lncurses } } post-patch { if {![variant_isset doc]} { reinplace -E "/^install-data-am:/s/install-dist_htmlDATA//" ${worksrcpath}/Makefile.in reinplace -E "/install-man/s/install-htmlDATA//" ${worksrcpath}/Makefile.in } } test.run yes variant doc description {Install extra documentation} {}