source: trunk/dports/textproc/xml2/Portfile

Last change on this file was 106123, checked in by ryandesign@…, 4 years ago

xml2: update to 0.5; fix livecheck; update master_sites; license GPL-2+ (#39082)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 106123 2013-05-15 20:01:04Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                xml2
6
7version             0.5
8categories          textproc xml
9platforms           darwin
10maintainers         23bit.net:cr
11license             GPL-2+
12
13description         Convert between XML/HTML and a shell-friendly format
14
15long_description    These tools are used to convert XML and HTML to and from a \
16                    line-oriented format more amenable to processing by classic \
17                    Unix pipeline processing tools, like grep, sed, awk, cut, \
18                    shell scripts, and so forth.
19
20homepage            http://dan.egnor.name/xml2/
21master_sites        http://download.ofb.net/gale/
22
23checksums           rmd160  bb4e7d93703f4724b0ea812a21bfa96e082eab51 \
24                    sha256  e3203a5d3e5d4c634374e229acdbbe03fea41e8ccdef6a594a3ea50a50d29705
25
26depends_build   port:pkgconfig
27
28depends_lib         port:libxml2
29
30post-destroot {
31    # Fix symlinks so they don't point into the destroot.
32    ln -sf ./xml2 ${destroot}${prefix}/bin/html2
33    ln -sf ./2xml ${destroot}${prefix}/bin/2html
34}
35
36livecheck.type      regex
37livecheck.url       [lindex ${master_sites} 0]
38livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.