[116652] trunk/dports/sysutils

mww at macports.org mww at macports.org
Sat Feb 1 07:23:54 PST 2014


Revision: 116652
          https://trac.macports.org/changeset/116652
Author:   mww at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140201/5eb81c57/attachment-0001.html>


More information about the macports-changes mailing list