freebsd-ports/ports-mgmt/chucky/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

40 lines
930 B
Makefile

# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
# $FreeBSD$
PORTNAME= chucky
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= GHL
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
MAINTAINER= waitman@waitman.net
COMMENT= Port installed version check/report with shar archival
LICENSE= CHUCKY
LICENSE_NAME= CHUCKY BSD LICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libpkg.so:${PORTSDIR}/${PKG_ORIGIN} \
libsqlite3.so:${PORTSDIR}/databases/sqlite3
USE_GITHUB= yes
GH_ACCOUNT= waitman
GH_PROJECT= chucky
GH_TAGNAME= 075defe
GH_COMMIT= ${GH_TAGNAME}
SUB_FILES= pkg-message
SUB_LIST= MAN7PREFIX="${MAN7PREFIX}"
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>