# -*- 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 116667 2014-02-02 01:28:10Z ryandesign@macports.org $ PortSystem 1.0 name brightness # no version given for original source version 1.0 categories sysutils maintainers mww openmaintainer # no license info given license none description brightness changes the screen brightness from the command line platforms darwin freebsd long_description ${description} homepage http://dev.sabi.net/svn/dev/trunk/LocationDo/brightness.c checksums rmd160 9314b0c8bf08a05300139e66d1e438652f692749 \ sha256 8faff5a221d55368c3e848f0163389d996e2075db63f610938b60f4d5dbb00f0 installs_libs no distfiles brightness.c master_sites http://dev.sabi.net/svn/dev/trunk/LocationDo/ extract { file mkdir ${worksrcpath} file copy ${distpath}/${distfiles} ${worksrcpath}/ } use_configure no variant universal {} build { system -W ${worksrcpath} "${configure.cc} -std=c99 -o brightness brightness.c -framework IOKit -framework ApplicationServices [get_canonical_archflags cc]" } destroot { xinstall -m 755 ${worksrcpath}/brightness ${destroot}${prefix}/bin/brightness } livecheck.type none