# $Id: Portfile 38289 2008-07-15 04:06:14Z ryandesign@macports.org $ PortSystem 1.0 PortGroup xcode 1.0 name agregex set my_name AGRegex version 0.4 categories devel framework maintainers nomaintainer description a Perl-compatible regex framework for using the PCRE library long_description AGRegex provides Perl-compatible pattern matching to \ Cocoa applications. Regular expression support is \ provided by the PCRE library package, which is open \ source software, written by Philip Hazel, and \ copyright by the University of Cambridge, England. homepage http://agkit.sourceforge.net/ master_sites sourceforge:agkit distname ${my_name}-${version} extract.suffix .tgz worksrcdir ${my_name} checksums md5 b6bcc0b77c9c72bf3af876147b7ac034 \ sha1 2998cc28111105ee99f3028acbc3c734f82c54e4 \ rmd160 00ec02d198d42f7df93a60e5ad1b6f5b1e565f4b use_configure yes configure { reinplace -E "/OTHER_CFLAGS = \"-/s|\";| [join ${configure.cflags} " "]\";\\\n\ LDFLAGS=\"[join ${configure.ldflags} " "]\";|" \ ${worksrcpath}/${my_name}.pbproj/project.pbxproj } xcode.target ${my_name} xcode.destroot.type framework livecheck.regex "${my_name} ${my_name}-(\\d+(?:\\.\\d+)*) released.*"