svn commit: r487479 - in head/x11: . aminal aminal/files
Yuri Victorovich
yuri at FreeBSD.org
Sat Dec 15 01:55:45 UTC 2018
Author: yuri
Date: Sat Dec 15 01:55:43 2018
New Revision: 487479
URL: https://svnweb.freebsd.org/changeset/ports/487479
Log:
New port: x11/aminal: Golang terminal emulator from scratch
Added:
head/x11/aminal/
head/x11/aminal/Makefile (contents, props changed)
head/x11/aminal/distinfo (contents, props changed)
head/x11/aminal/files/
head/x11/aminal/files/patch-src_github.com_liamg_aminal_vendor_github.com_riywo_loginshell_loginshell.go (contents, props changed)
head/x11/aminal/pkg-descr (contents, props changed)
Modified:
head/x11/Makefile
Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile Sat Dec 15 01:19:02 2018 (r487478)
+++ head/x11/Makefile Sat Dec 15 01:55:43 2018 (r487479)
@@ -11,6 +11,7 @@
SUBDIR += alltray
SUBDIR += alttab
SUBDIR += altyo
+ SUBDIR += aminal
SUBDIR += antimicro
SUBDIR += appres
SUBDIR += apwal
Added: head/x11/aminal/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/aminal/Makefile Sat Dec 15 01:55:43 2018 (r487479)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= aminal
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.7.12
+CATEGORIES= x11
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Golang terminal emulator from scratch
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/LICENSE
+
+BUILD_DEPENDS= go:lang/go
+
+USES= gl
+USE_GITHUB= nodefault # the main code is in GH_TUPLE
+GH_ACCOUNT= liamg
+GH_TUPLE= liamg:aminal:${DISTVERSIONFULL}:main/src/github.com/liamg/aminal
+GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
+USE_GL= gl
+USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm
+
+MAKE_ENV= CGO_CFLAGS="-I${LOCALBASE}/include" CGO_LDFLAGS="-L${LOCALBASE}/lib"
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-build:
+ @cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} && \
+ ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install ./...
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
Added: head/x11/aminal/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/aminal/distinfo Sat Dec 15 01:55:43 2018 (r487479)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1544837614
+SHA256 (liamg-aminal-v0.7.12_GH0.tar.gz) = bd424230d2ee2f23c80703208ab22a6ed09d45862557094ef540a219adf25544
+SIZE (liamg-aminal-v0.7.12_GH0.tar.gz) = 15211148
Added: head/x11/aminal/files/patch-src_github.com_liamg_aminal_vendor_github.com_riywo_loginshell_loginshell.go
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/aminal/files/patch-src_github.com_liamg_aminal_vendor_github.com_riywo_loginshell_loginshell.go Sat Dec 15 01:55:43 2018 (r487479)
@@ -0,0 +1,11 @@
+--- src/github.com/liamg/aminal/vendor/github.com/riywo/loginshell/loginshell.go.orig 2018-12-15 01:47:38 UTC
++++ src/github.com/liamg/aminal/vendor/github.com/riywo/loginshell/loginshell.go
+@@ -15,6 +15,8 @@ func Shell() (string, error) {
+ switch runtime.GOOS {
+ case "linux":
+ return LinuxShell()
++ case "freebsd":
++ return LinuxShell()
+ case "darwin":
+ return DarwinShell()
+ }
Added: head/x11/aminal/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/aminal/pkg-descr Sat Dec 15 01:55:43 2018 (r487479)
@@ -0,0 +1,7 @@
+minal is a modern terminal emulator for Mac/Linux/BSD implemented in Golang and
+utilising OpenGL.
+
+The project is experimental at the moment, so you probably won't want to rely on
+Aminal as your main terminal for a while.
+
+WWW: https://github.com/liamg/aminal
More information about the svn-ports-all
mailing list