source: trunk/dports/textproc/sgrep/Portfile

Last change on this file was 104514, checked in by jmr@…, 4 years ago

sgrep: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1020 bytes
Line 
1# $Id: Portfile 104514 2013-03-26 13:16:03Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    sgrep
6version                 0.99
7categories              textproc
8license                 GPL-2+
9platforms               darwin
10maintainers             nomaintainer
11description             structured grep is a tool for searching SGML, XML and HTML files
12long_description        sgrep (structured grep) is a tool for searching and \
13                        indexing text, SGML, XML and HTML files and filtering text streams \
14                        using structural criteria.
15
16homepage                http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html
17master_sites    ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/ freebsd
18checksums               md5 af09a90c4f1929bfae4818c8962a8907
19
20use_configure   no
21
22build.args              BINDIR=${prefix}/bin LIBDIR=${prefix}/lib \
23                                MANFILE=${prefix}/share/man/man1/sgrep.1 \
24                                RCFILE=${prefix}/etc/sgreprc
25
26destroot.destdir        BINDIR=${destroot}${prefix}/bin \
27                                LIBDIR=${destroot}${prefix}/lib \
28                                MANFILE=${destroot}${prefix}/share/man/man1/sgrep.1 \
29                                RCFILE=${destroot}${prefix}/etc/sgreprc
30post-destroot {
31        xinstall -m 644 ${worksrcpath}/sample.sgreprc \
32                ${destroot}${prefix}/etc/sgreprc.sample
33}
Note: See TracBrowser for help on using the repository browser.