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

Last change on this file since 45074 was 45074, checked in by blb@…, 10 years ago

Multiple ports - work with either libtool 1.x or libtool 2.x installed,
ticket #17833 (maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
1# $Id: Portfile 45074 2009-01-08 07:07:36Z $
3PortSystem 1.0
5name                erlsom
6version             1.2.1
7revision                        1
8categories          erlang textproc
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.
14master_sites        sourceforge:erlsom
15checksums           md5     b58aa0da4267544e2bcba45185f7cb10 \
16                    sha1    1d6e6e2514f4ccf3ec1fe3a3c188b57c8d26e4c6 \
17                    rmd160  7ff62b83af6daedeed3eb0802a39a909099288d8
18depends_build       port:autoconf port:erlang
19depends_lib         port:libtool
20use_autoconf        yes
21extract.mkdir       yes
22patchfiles                      patch-Makefile.diff \
23                                        patch-src-Makefile.diff            debuginfo
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"
Note: See TracBrowser for help on using the repository browser.