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

37 lines
830 B
Makefile

# Created by: Bartek Rutkowski <robak@FreeBSD.org>
# $FreeBSD$
PORTNAME= iocage
PORTVERSION= 1.4.6
CATEGORIES= sysutils
MASTER_SITES= GHL
MAINTAINER= robak@FreeBSD.org
COMMENT= Full featured, no dependency Jail container manager
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= pannon
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= 41f9863
PLIST_FILES= etc/rc.d/iocage \
sbin/iocage \
man/man8/iocage.8.gz
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 900044
BROKEN= This port works only on FreeBSD 9 and newer
.endif
NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/iocage ${STAGEDIR}${PREFIX}/etc/rc.d
${INSTALL_SCRIPT} ${WRKSRC}/iocage ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/iocage.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.post.mk>