# $Id: Portfile 116666 2014-02-02 01:21:39Z 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} -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