freebsd-ports/devel/mongo-c-driver/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

36 lines
738 B
Makefile

# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
# $FreeBSD$
PORTNAME= mongo-c-driver
PORTVERSION= 0.7.1
CATEGORIES= devel
MASTER_SITES= GHL
PKGNAMESUFFIX= -devel
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
MAINTAINER= waitman@waitman.net
COMMENT= C Driver for MongoDB
USE_GITHUB= yes
GH_ACCOUNT= mongodb
GH_PROJECT= mongo-c-driver
GH_TAGNAME= v0.7.1
GH_COMMIT= g98826a
WRKSRC= ${WRKDIR}/mongodb-mongo-c-driver-17ff925
USES= gmake
USE_LDCONFIG= yes
PLIST_FILES= include/mongo.h \
include/bson.h \
lib/libmongoc.a \
lib/libmongoc.so.0.7 \
lib/libmongoc.so.0.7.1 \
lib/libmongoc.so \
lib/libbson.a \
lib/libbson.so.0.7.1 \
lib/libbson.so.0.7 \
lib/libbson.so
.include <bsd.port.mk>