# $Id$ PortSystem 1.0 name pcre version 7.4 categories devel platforms darwin freebsd maintainers nox 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/ 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 use_bzip2 yes checksums md5 7d05b4fb088ffa6fcf704e36ebb427f9 \ sha1 2092ff639da7694b47056f3f9abed285d4a840b3 \ rmd160 42bc33e5592c23c7eb337f8fcfab77fb290aed61 configure.args --docdir=${prefix}/share/doc/${name}-${version} \ --enable-unicode-properties post-configure { if {! [variant_isset doc]} { reinplace -E "/^install-data-am:/s/install-dist_htmlDATA//" ${worksrcpath}/Makefile reinplace -E "/install-man/s/install-htmlDATA//" ${worksrcpath}/Makefile } } test.run yes variant doc description {Install extra documentation} {}