# -*- 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: Portfile 150507 2016-07-20 20:15:17Z devans@macports.org $ PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 name girara version 0.2.6 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 872889a2d5abcb907d8dbe2a27e7c9bb238963b8 \ sha256 eba69b3522b4d149e06d133de52877913275873c505993fad08b6d7884ec9a0f 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 # blacklist compilers that don't support -std=c11 compiler.blacklist *gcc* {clang < 300} 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)