Revision: 116652 https://trac.macports.org/changeset/116652 Author: mww@macports.org Date: 2014-02-01 07:23:54 -0800 (Sat, 01 Feb 2014) Log Message: ----------- brightness: new port Added Paths: ----------- trunk/dports/sysutils/brightness/ trunk/dports/sysutils/brightness/Portfile Added: trunk/dports/sysutils/brightness/Portfile =================================================================== --- trunk/dports/sysutils/brightness/Portfile (rev 0) +++ trunk/dports/sysutils/brightness/Portfile 2014-02-01 15:23:54 UTC (rev 116652) @@ -0,0 +1,42 @@ +# $Id$ + +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 + +build { + system "cd ${worksrcpath} && ${configure.cc} -o brightness brightness.c -framework IOKit -framework ApplicationServices" +} + +destroot { + xinstall -m 755 -d ${destroot}${prefix}/bin + xinstall -m 755 ${worksrcpath}/brightness ${destroot}${prefix}/bin/brightness +} + +livecheck.type none + Property changes on: trunk/dports/sysutils/brightness/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native
participants (1)
-
mww@macports.org