5b5a90256d
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
28 lines
509 B
Makefile
28 lines
509 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= bsdnt
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= math
|
|
MASTER_SITES= GHL
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= Bignum Library
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
USES= gmake shebangfix
|
|
SHEBANG_FILES= configure
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= wbhart
|
|
GH_PROJECT= ${PORTNAME}
|
|
GH_TAGNAME= 72e20a7
|
|
GH_COMMIT= 72e20a7
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./configure --prefix=${STAGEDIR}${PREFIX} CC=cc CXX=c++ AS=cc
|
|
|
|
.include <bsd.port.mk>
|