Added: trunk/dports/sysutils/brightness/Portfile (0 => 116652)
--- 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
___________________________________________________________________