# -*- 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 # $Id$ PortSystem 1.0 name girara version 0.2.4 categories devel gnome platforms darwin license zlib maintainers gmail.com:starkhalo \ openmaintainer description Cross-platform widget toolkit based on GTK+ long_description \ girara is a library that implements a user interface that focuses on \ simplicity and minimalism. Currently based on GTK+, a cross-platform \ widget toolkit, it proves an interface that focueses on three main com- \ ponents: A so-called view widget that represents the actual application \ (e.g. a website (browser), an image (image viewer) or the document \ (document viewer)), an input bar that is used to execute commands of \ the application and the status bar which provides the user with current \ information. homepage http://pwmt.org/projects/${name}/ master_sites ${homepage}download/ checksums rmd160 7de0789050c7b624f18f828ca25c46f4a7d2e5c0 \ sha256 2ee04e4c0e700d455ebaf92f804355f948754e7d3751d409db6595419e6ece5e patchfiles patch-Makefile.diff depends_build port:pkgconfig depends_lib path:lib/libglib-2.0.dylib:glib2 \ port:gtk3 \ port:intltool \ port:libnotify \ port:json-c use_configure no variant universal {} platform darwin { # Before 10.7 there's no getline() in stdio.h # http://stackoverflow.com/a/1117158/205907 if {${os.major} < 11} { # Using CVS project implementation # http://www.opensource.apple.com/source/cvs/cvs-47/cvs/lib/getline.c?txt # http://www.opensource.apple.com/source/cvs/cvs-47/cvs/lib/getline.h?txt # http://www.opensource.apple.com/source/cvs/cvs-47/cvs/lib/getdelim.c?txt # http://www.opensource.apple.com/source/cvs/cvs-47/cvs/lib/getdelim.h?txt patchfiles-append patch-getline.diff } } build.args PREFIX=${prefix} build.env CC=${configure.cc} \ CXX=${configure.cxx} \ CPP=${configure.cpp} \ CFLAGS="[get_canonical_archflags cc]" \ LDFLAGS="[get_canonical_archflags ld]" \ VERBOSE=1 eval destroot.env ${build.env} eval destroot.args ${build.args} livecheck.type regex livecheck.url ${master_sites} livecheck.regex (\\d\\.\\d\\.\\d)