source: trunk/dports/erlang/erlsom/Portfile @ 65881

Last change on this file since 65881 was 65881, checked in by ryandesign@…, 7 years ago

erlsom: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 65881 2010-04-02 14:14:45Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                erlsom
6version             1.2.1
7revision                        1
8categories          erlang textproc
9maintainers         nomaintainer
10platforms           darwin
11description         An Erlang libary for XML parsing.
12long_description    An Erlang libary for XML parsing. It supports various modes of operation: as an efficient SAX parser, as a simple DOM-like parser, or as a 'data mapper'. The data mapper transforms the XML document to Erlang records, based on an XML Schema.
13homepage            http://erlsom.sourceforge.net/
14master_sites        sourceforge:erlsom
15checksums           md5     b58aa0da4267544e2bcba45185f7cb10 \
16                    sha1    1d6e6e2514f4ccf3ec1fe3a3c188b57c8d26e4c6 \
17                    rmd160  7ff62b83af6daedeed3eb0802a39a909099288d8
18depends_build       port:erlang
19depends_lib         port:libtool
20use_autoconf        yes
21extract.mkdir       yes
22patchfiles                      patch-Makefile.diff \
23                                        patch-src-Makefile.diff
24build.target            debuginfo
25
26post-extract {
27    if {[file exists ${prefix}/share/libtool/config/config.guess]} {
28        copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}
29    } else {
30        copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
31    }
32    file delete -force "${worksrcpath}/configure"
33}
34
35livecheck.regex     (?i)<title>${name} ${name}-(.*) released.*</title>
Note: See TracBrowser for help on using the repository browser.