blob: f3eafdd4363ed2b033111ee85b3c8e0ad3b90916 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
PORTNAME= aminal
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= yuri@FreeBSD.org
COMMENT= Golang terminal emulator from scratch
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gl go xorg
USE_GITHUB= yes
GH_ACCOUNT= liamg
GH_TUPLE= BurntSushi:xgb:27f1227:xgb/vendor/github.com/BurntSushi/xgb \
gen2brain:shm:6c18ff7:shm/vendor/github.com/gen2brain/shm
USE_GL= gl
USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
PORTSCOUT= limit:^[0-9].*
post-patch: # https://github.com/liamg/aminal/issues/208
@cd ${WRKSRC}/platform && \
${CP} linuxLaunch.go freebsdLaunch.go && \
${REINPLACE_CMD} 's|build linux|build freebsd|' freebsdLaunch.go
.include <bsd.port.mk>
|