mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
d84aa50743
Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D21854
35 lines
803 B
Makefile
35 lines
803 B
Makefile
# $FreeBSD$
|
|
|
|
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>
|