# $Id: Portfile 104514 2013-03-26 13:16:03Z jmr@macports.org $ PortSystem 1.0 name sgrep version 0.99 categories textproc license GPL-2+ platforms darwin maintainers nomaintainer description structured grep is a tool for searching SGML, XML and HTML files long_description sgrep (structured grep) is a tool for searching and \ indexing text, SGML, XML and HTML files and filtering text streams \ using structural criteria. homepage http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html master_sites ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/ freebsd checksums md5 af09a90c4f1929bfae4818c8962a8907 use_configure no build.args BINDIR=${prefix}/bin LIBDIR=${prefix}/lib \ MANFILE=${prefix}/share/man/man1/sgrep.1 \ RCFILE=${prefix}/etc/sgreprc destroot.destdir BINDIR=${destroot}${prefix}/bin \ LIBDIR=${destroot}${prefix}/lib \ MANFILE=${destroot}${prefix}/share/man/man1/sgrep.1 \ RCFILE=${destroot}${prefix}/etc/sgreprc post-destroot { xinstall -m 644 ${worksrcpath}/sample.sgreprc \ ${destroot}${prefix}/etc/sgreprc.sample }