source: trunk/dports/archivers/xar-devel/Portfile @ 31837

Last change on this file since 31837 was 31837, checked in by afb@…, 12 years ago

fix libtool convenience library

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 31837 2007-12-09 19:25:31Z afb@macports.org $
2
3PortSystem 1.0
4
5name                xar-devel
6version             1.6
7categories          archivers sysutils
8platforms           darwin freebsd linux
9description         xar is the eXtensible ARchiver
10maintainers         afb@macports.org openmaintainer
11long_description    ${description}
12homepage            http://code.google.com/p/xar/
13master_sites        http://xar.googlecode.com/files/
14checksums           sha1 bf6506dd200ea18ea1331391da7aaece1188208d
15
16distname            xar-${version}
17fetch.type          svn
18svn.url             http://xar.googlecode.com/svn/trunk/xar
19worksrcdir          xar
20
21depends_lib         port:bzip2 \
22                    port:liblzma \
23                    port:libiconv \
24                    port:libxml2 \
25                    port:openssl \
26                    port:zlib
27
28patchfiles          patch-libxar.la.in.in
29
30pre-configure {
31    system "cd ${worksrcpath}; ./autogen.sh"
32}
33
34configure.args      --mandir=${prefix}/share/man \
35                    --with-libz=${prefix} \
36                    --with-libbzip2=${prefix} \
37                    --with-liblzma=${prefix} \
38                    --with-libcrypto=${prefix} \
39                    --with-xml2-config=${prefix}/bin/xml2-config
40
41post-destroot {
42    reinplace "s/installed=no/installed=yes/" ${destpath}${prefix}/lib/libxar.la
43}
44
45platform darwin 8 {
46    configure.compiler  gcc-4.0
47}
48
49livecheck.check regex
50livecheck.url   http://code.google.com/p/xar/downloads/list?can=2&q=&sort=-uploaded
51livecheck.regex files/xar-(\[0-9\.\]+).tar.gz
52
Note: See TracBrowser for help on using the repository browser.