1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/go-termbox/Makefile
Bryan Drewery 5b5a90256d Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag.  This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.

The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
  GH -> GHL
  GITHUB -> GITHUB_LEGACY

Differential Revision:	https://reviews.freebsd.org/D748
Submitted by:	amdmi3
Reviewed by:	mat, swills, antoine, bdrewery
With hat:	portmgr
2015-03-19 16:44:57 +00:00

28 lines
615 B
Makefile

# Created by: Akinori MUSHA aka knu <knu@FreeBSD.org>
# $FreeBSD$
PORTNAME= termbox
PORTVERSION= 0.0.0.20140715
CATEGORIES= devel
MASTER_SITES= GHL
PKGNAMEPREFIX= go-
MAINTAINER= knu@FreeBSD.org
COMMENT= Pure Go termbox implementation
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/${GO_LIBDIR}/github.com/mattn/go-runewidth.a:${PORTSDIR}/devel/go-runewidth
USE_GITHUB= yes
GH_ACCOUNT= nsf
GH_PROJECT= ${PORTNAME}-go
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= e9227d6
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>