Ticket #43564: Portfile.4

File Portfile.4, 1.9 KB (added by harciga, 11 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
6name                girara
7version             0.2.0
8categories          gtk
9platforms           darwin
10license             zlib
11maintainers         gmail.com:starkhalo
12description         Cross-platform widget toolkit based on GTK+
13long_description \
14    girara is a library that implements a user interface that focuses on    \
15    simplicity and minimalism. Currently based on GTK+, a cross-platform    \
16    widget toolkit, it proves an interface that focueses on three main com- \
17    ponents: A so-called view widget that represents the actual application \
18    (e.g. a website (browser), an image (image viewer) or the document      \
19    (document viewer)), an input bar that is used to execute commands of    \
20    the application and the status bar which provides the user with current \
21    information.
22
23homepage            http://pwmt.org/projects/${name}/
24
25master_sites        ${homepage}download/
26
27checksums           \
28    rmd160 e89c075c353548740ab9e3de1d8e6ccea61823f6 \
29    sha256 d14b54cb04d81ba3b84ad41c5e68951d250b455d0862add1c987e3af9e2e174d
30
31patchfiles          patch-Makefile.diff \
32                    patch-config.mk.diff
33
34depends_lib         path:lib/libglib-2.0.dylib:glib2 \
35                    port:gtk3 \
36                    port:intltool
37
38use_configure       no
39
40variant universal   {}
41
42build.args          PREFIX=${prefix}
43build.args-append   CC=${configure.cc} \
44                    CXX=${configure.cxx} \
45                    CPP=${configure.cpp}
46
47build.env           CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
48                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
49
50destroot.args       PREFIX=${prefix}
51
52livecheck.type      regex
53livecheck.url       ${master_sites}
54livecheck.regex     (\\d\\.\\d\\.\\d)