diff options
author | wiedi <wiedi@pkgsrc.org> | 2015-01-17 15:34:21 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2015-01-17 15:34:21 +0000 |
commit | d2e69e0213fb5a195b2ddcaf2ec3ed9ccc7b1a1c (patch) | |
tree | 8647b31d4d5e03a3dd461c2e76de23957a3c6930 /sysutils/screenbrightness | |
parent | c44544e69a8cc074bf5a7e7648e8909a6a1bda20 (diff) | |
download | pkgsrc-d2e69e0213fb5a195b2ddcaf2ec3ed9ccc7b1a1c.tar.gz |
Import screenbrightness-1.1 as sysutils/screenbrightness
screenbrightness is an OS X command line utility for changing screen brightness.
It also lets you retrieve the current brightness settings.
Diffstat (limited to 'sysutils/screenbrightness')
-rw-r--r-- | sysutils/screenbrightness/DESCR | 2 | ||||
-rw-r--r-- | sysutils/screenbrightness/Makefile | 21 | ||||
-rw-r--r-- | sysutils/screenbrightness/PLIST | 2 | ||||
-rw-r--r-- | sysutils/screenbrightness/distinfo | 6 | ||||
-rw-r--r-- | sysutils/screenbrightness/patches/patch-Makefile | 23 |
5 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/screenbrightness/DESCR b/sysutils/screenbrightness/DESCR new file mode 100644 index 00000000000..d87b02f4bd4 --- /dev/null +++ b/sysutils/screenbrightness/DESCR @@ -0,0 +1,2 @@ +screenbrightness is an OS X command line utility for changing screen brightness. +It also lets you retrieve the current brightness settings. diff --git a/sysutils/screenbrightness/Makefile b/sysutils/screenbrightness/Makefile new file mode 100644 index 00000000000..5bf1189d3ad --- /dev/null +++ b/sysutils/screenbrightness/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2015/01/17 15:34:21 wiedi Exp $ + +VERSION= 1.1 +DISTNAME= ${VERSION} +PKGNAME= screenbrightness-${VERSION} +CATEGORIES= sysutils +MASTER_SITES= https://github.com/jmstacey/screenbrightness/archive/ + +MAINTAINER= wiedi@frubar.net +HOMEPAGE= https://github.com/jmstacey/screenbrightness/ +COMMENT= Command-line display brightness control for OS X +LICENSE= 2-clause-bsd + +WRKSRC= ${WRKDIR}/screenbrightness-${VERSION} +USE_TOOLS+= gmake +BUILD_TARGET= build +MAKE_ENV+= DESTDIR=${DESTDIR} + +ONLY_FOR_PLATFORM= Darwin-*-* + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/screenbrightness/PLIST b/sysutils/screenbrightness/PLIST new file mode 100644 index 00000000000..98a68b8cb48 --- /dev/null +++ b/sysutils/screenbrightness/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2015/01/17 15:34:21 wiedi Exp $ +bin/screenbrightness diff --git a/sysutils/screenbrightness/distinfo b/sysutils/screenbrightness/distinfo new file mode 100644 index 00000000000..547f0775b40 --- /dev/null +++ b/sysutils/screenbrightness/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/01/17 15:34:21 wiedi Exp $ + +SHA1 (1.1.tar.gz) = f9750733ac298837f519fcfedcbfec74f781bc68 +RMD160 (1.1.tar.gz) = e99e365e90e6ade83af2d6b842a71472252b98a6 +Size (1.1.tar.gz) = 2603 bytes +SHA1 (patch-Makefile) = 6f56125fe38c5cc06d8b3928c88b2b4a0fd8bd0c diff --git a/sysutils/screenbrightness/patches/patch-Makefile b/sysutils/screenbrightness/patches/patch-Makefile new file mode 100644 index 00000000000..efbec864a54 --- /dev/null +++ b/sysutils/screenbrightness/patches/patch-Makefile @@ -0,0 +1,23 @@ +$NetBSD: patch-Makefile,v 1.1 2015/01/17 15:34:21 wiedi Exp $ + +install to correct prefix +--- Makefile.orig 2013-11-02 05:56:09.000000000 +0000 ++++ Makefile +@@ -3,9 +3,7 @@ + # Friday November 1, 2013 + # Jon Stacey <jon@jonsview.com> + +-prefix=/usr/local +- +-CC=clang ++prefix=$(DESTDIR)$(PREFIX) + + build: screenbrightness + +@@ -20,4 +18,4 @@ clean: + + install: + mkdir -p $(prefix)/bin +- install -s -m 0755 screenbrightness $(prefix)/bin +\ No newline at end of file ++ install -s -m 0755 screenbrightness $(prefix)/bin |