# -*- 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
PortGroup compiler_blacklist_versions 1.0
maintainers {gmail.com:starkhalo @harciga} \
description Cross-platform widget toolkit based on GTK+
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 \
homepage http://pwmt.org/projects/${name}/
master_sites ${homepage}download/
checksums rmd160 24ac2ce791459c879353e58edc047f903b2c12c0 \
sha256 98e6a343298ae46869c990bc6e0732555e19af2e386cdc1a911f109b1c5c32e5
depends_build port:pkgconfig
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
# blacklist compilers that don't support -std=c11
compiler.blacklist *gcc* {clang < 300}
# Before 10.7 there's no getline() in stdio.h
# http://stackoverflow.com/a/1117158/205907
# 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} \