summaryrefslogtreecommitdiff
path: root/x11/aminal/Makefile
blob: 31b38c43f4878eb2b4251a7f3089fc96f43ce91b (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=	21
CATEGORIES=	x11

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Golang terminal emulator from scratch
WWW=		https://github.com/liamg/aminal

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>