Ticket #53206: Portfile.2

File Portfile.2, 1.0 KB (added by Schamschula (Marius Schamschula), 7 years ago)

Portfile using GitHub PortGroup

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2
3PortSystem          1.0
4PortGroup           github 1.0
5
6github.setup        mackyle xar 1.6.1 xar-
7
8categories          archivers sysutils
9platforms           darwin freebsd linux
10license             BSD
11description         xar is the eXtensible ARchiver
12maintainers         mww mps
13long_description    ${description}
14
15worksrcdir          ${distname}/xar
16
17checksums           rmd160  6bcdbf03f6c58d64eace10b4c52104d642995063 \
18                    sha256  e5edbb3e350c3aaee030c2c20909f0532938cdd2b9ed9da4476088c87eb7a65e
19
20depends_lib         port:bzip2 \
21                    port:libiconv \
22                    port:libxml2 \
23                    path:lib/libssl.dylib:openssl \
24                    port:zlib
25
26patchfiles              patch-ext2.c
27
28use_autoconf        yes
29
30configure.args      --with-xml2-config=${prefix}/bin/xml2-config
31
32post-destroot {
33    reinplace "s/installed=no/installed=yes/" ${destpath}${prefix}/lib/libxar.la
34}
35