Ticket #42689: Portfile

File Portfile, 2.2 KB (added by jul_bsd@…, 9 years ago)
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# $Id$
3
4PortSystem          1.0
5
6PortGroup           github 1.0
7
8github.setup        libyal libvhdi 20150110
9categories-append   security
10platforms           darwin
11
12maintainers         yahoo.fr:jul_bsd openmaintainer
13
14license             LGPL-3+
15
16description         Library and tools to access the Virtual Hard Disk (VHD) image format
17long_description    ${description}
18
19distname            libvhdi-alpha-${version}
20
21## Note: We want "release source"not source code
22master_sites        https://github.com/libyal/${name}/releases/download/${version}/
23worksrcdir          ${name}-${version}
24
25checksums           rmd160  01301d7e028c553f57bcef8623713143e3ebbb26 \
26                    sha256  2b9ce5d2e98237bb25aa684dd015bfd5c33d3ea81ac7ab0111fac7e873599593
27
28depends_lib         port:gettext \
29                    port:libiconv \
30                    port:osxfuse \
31                    port:libcstring \
32                    port:libcerror \
33                    port:libcthreads \
34                    port:libcdata \
35                    port:libclocale \
36                    port:libcnotify \
37                    port:libcsplit \
38                    port:libuna \
39                    port:libcfile \
40                    port:libcpath \
41                    port:libbfio \
42                    port:libfcache \
43                    port:libfdata \
44                    port:libfguid \
45                    port:libcsystem
46
47depends_build       port:pkgconfig
48
49configure.args      --disable-dependency-tracking
50
51#default_variants +debug +python27
52default_variants    +python27
53
54## FIXME! create libcstring header issue
55variant debug description {Enable verbose and debug output} {
56    configure.args-append --enable-verbose-output --enable-debug-output
57}
58
59variant python27 description { Python Bindings using Python 2.7} {
60    ## Enforce the right python config
61    configure.env       PYTHON_CONFIG=${prefix}/bin/python2.7-config PYTHON_VERSION=2.7
62    depends_lib-append  port:python27
63    configure.args-append --enable-python \
64        --with-pyprefix=`${prefix}/bin/python2.7-config --prefix`
65}
66
67