diff options
author | Danilo G. Baio <dbaio@FreeBSD.org> | 2018-03-10 01:16:20 +0000 |
---|---|---|
committer | Danilo G. Baio <dbaio@FreeBSD.org> | 2018-03-10 01:16:20 +0000 |
commit | 4c2c27993bfac290d01bba827ea6127da42a4fb0 (patch) | |
tree | 0dc6b639795c0c0f98aca7bb8bf0df008209b650 | |
parent | * Updated to 156 (diff) |
Add sysutils/asmctl: Apple System Management Controller
Asmctl is a command line tool for Apple System Management Controller,
which controls the keyboard backlight and LCD backlight.
Assigning following key bindings work similar to Apple MacBook series.
| key | assign |
|-----|-------------------|
| F1 | asmctl video down |
| F2 | asmctl video up |
| F5 | asmctl key down |
| F6 | asmctl key up |
WWW: https://github.com/yuichiro-naito/asmctl
PR: 225552
Submitted by: Yuichiro NAITO <naito.yuichiro@gmail.com>
Notes
Notes:
svn path=/head/; revision=464040
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/asmctl/Makefile | 24 | ||||
-rw-r--r-- | sysutils/asmctl/distinfo | 3 | ||||
-rw-r--r-- | sysutils/asmctl/pkg-descr | 13 | ||||
-rw-r--r-- | sysutils/asmctl/pkg-plist | 4 |
5 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 24ad00cc01ea..6ff46a18a808 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -49,6 +49,7 @@ SUBDIR += areca-cli SUBDIR += ascpu SUBDIR += asfsm + SUBDIR += asmctl SUBDIR += asmem SUBDIR += asmon SUBDIR += asusoled diff --git a/sysutils/asmctl/Makefile b/sysutils/asmctl/Makefile new file mode 100644 index 000000000000..c3039fec4e67 --- /dev/null +++ b/sysutils/asmctl/Makefile @@ -0,0 +1,24 @@ +# Created by: Yuichiro NAITO <naito.yuichiro@gmail.com> +# $FreeBSD$ + +PORTNAME= asmctl +PORTVERSION= 1.6 +CATEGORIES= sysutils + +MAINTAINER= naito.yuichiro@gmail.com +COMMENT= Apple System Management Controller + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USE_GITHUB= yes +GH_ACCOUNT= yuichiro-naito + +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip + +post-install: + ${MV} ${STAGEDIR}${PREFIX}/etc/devd/asmctl.conf \ + ${STAGEDIR}${PREFIX}/etc/devd/asmctl.conf.sample + +.include <bsd.port.mk> diff --git a/sysutils/asmctl/distinfo b/sysutils/asmctl/distinfo new file mode 100644 index 000000000000..660f3cd2de24 --- /dev/null +++ b/sysutils/asmctl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1512956138 +SHA256 (yuichiro-naito-asmctl-1.6_GH0.tar.gz) = 169184dfc693e39e5188dba1174a55768261c2ecbdb1b976ddcd32d5de68c893 +SIZE (yuichiro-naito-asmctl-1.6_GH0.tar.gz) = 48890 diff --git a/sysutils/asmctl/pkg-descr b/sysutils/asmctl/pkg-descr new file mode 100644 index 000000000000..f1481fcba933 --- /dev/null +++ b/sysutils/asmctl/pkg-descr @@ -0,0 +1,13 @@ +Asmctl is a command line tool for Apple System Management Controller, +which controls the keyboard backlight and LCD backlight. + +Assigning following key bindings work similar to Apple MacBook series. + +| key | assign | +|-----|-------------------| +| F1 | asmctl video down | +| F2 | asmctl video up | +| F5 | asmctl key down | +| F6 | asmctl key up | + +WWW: https://github.com/yuichiro-naito/asmctl diff --git a/sysutils/asmctl/pkg-plist b/sysutils/asmctl/pkg-plist new file mode 100644 index 000000000000..9ec95abffa64 --- /dev/null +++ b/sysutils/asmctl/pkg-plist @@ -0,0 +1,4 @@ +bin/asmctl +@sample etc/devd/asmctl.conf.sample +man/man1/asmctl.1.gz +@dir /var/lib |