Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2018 22:24:57 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459211 - in head/accessibility: . sct
Message-ID:  <201801162224.w0GMOvNr003495@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue Jan 16 22:24:57 2018
New Revision: 459211
URL: https://svnweb.freebsd.org/changeset/ports/459211

Log:
  This is a port of sct, a simple command-line utility written by Ted Unangst,
  which can be used to control screen temperature. It exceeds at being much more
  lightweight than similar software solutions like Redshift and f.lux. At the
  same time it is easier to use than xrandr.
  
  Sct takes temperature values in range 1000 to 10000, where 6500 is the default
  value. Here are some usage examples:
  
   * Campfire style: `sct 4500`
   * Dust storm on Mars style: `sct 2000`
   * Coffee free all nighter style: `sct 8000`
   * Default style: `sct`
  
  WWW: https://www.tedunangst.com/flak/post/sct-set-color-temperature

Added:
  head/accessibility/sct/
  head/accessibility/sct/Makefile   (contents, props changed)
  head/accessibility/sct/distinfo   (contents, props changed)
  head/accessibility/sct/pkg-descr   (contents, props changed)
Modified:
  head/accessibility/Makefile

Modified: head/accessibility/Makefile
==============================================================================
--- head/accessibility/Makefile	Tue Jan 16 22:16:28 2018	(r459210)
+++ head/accessibility/Makefile	Tue Jan 16 22:24:57 2018	(r459211)
@@ -28,6 +28,7 @@
     SUBDIR += qt5-speech
     SUBDIR += redshift
     SUBDIR += rubygem-atk
+    SUBDIR += sct
     SUBDIR += speech-dispatcher
     SUBDIR += yasr
 

Added: head/accessibility/sct/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/accessibility/sct/Makefile	Tue Jan 16 22:24:57 2018	(r459211)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	sct
+PORTVERSION=	0.1.0
+CATEGORIES=	accessibility
+
+MAINTAINER=	0mp@FreeBSD.org
+COMMENT=	Utility to change screen temperature
+
+LICENSE=	UNLICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	0mp
+
+USE_XORG=	x11 xrandr
+
+PLIST_FILES=	bin/sct
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sct
+
+.include <bsd.port.mk>

Added: head/accessibility/sct/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/accessibility/sct/distinfo	Tue Jan 16 22:24:57 2018	(r459211)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1516135722
+SHA256 (0mp-sct-0.1.0_GH0.tar.gz) = 982bae0448daff0b41eabe492b8b33223e2dad010e861fd6f09e8d9d0d7ca6c1
+SIZE (0mp-sct-0.1.0_GH0.tar.gz) = 2167

Added: head/accessibility/sct/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/accessibility/sct/pkg-descr	Tue Jan 16 22:24:57 2018	(r459211)
@@ -0,0 +1,14 @@
+This is a port of sct, a simple command-line utility written by Ted Unangst,
+which can be used to control screen temperature. It exceeds at being much more
+lightweight than similar software solutions like Redshift and f.lux. At the
+same time it is easier to use than xrandr.
+
+Sct takes temperature values in range 1000 to 10000, where 6500 is the default
+value. Here are some usage examples:
+
+ * Campfire style: `sct 4500`
+ * Dust storm on Mars style: `sct 2000`
+ * Coffee free all nighter style: `sct 8000`
+ * Default style: `sct`
+
+WWW: https://www.tedunangst.com/flak/post/sct-set-color-temperature



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801162224.w0GMOvNr003495>