freebsd-ports/sysutils/beadm-devel/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

34 lines
716 B
Makefile

# $FreeBSD$
PORTNAME= beadm
PORTVERSION= 1.1.99.20140315
CATEGORIES= sysutils
PKGNAMESUFFIX= -devel
MASTER_SITES= GHL \
LOCAL/bdrewery/${PORTNAME}/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Solaris-like utility to manage Boot Environments on ZFS
LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= vermaden
GH_COMMIT= 748d2f2
GH_TAGNAME= ${GH_COMMIT}
NO_BUILD= YES
CONFLICTS_INSTALL= beadm-[0-9]*
PLIST_FILES= sbin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1/
.include <bsd.port.mk>