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

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

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