freebsd-ports/math/speedcrunch/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

26 lines
594 B
Makefile

# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= speedcrunch
DISTVERSION= 0.11
CATEGORIES= math
MASTER_SITES= GITHUB_LEGACY
MAINTAINER= makc@FreeBSD.org
COMMENT= Keyboard-oriented desktop scientific calculator
USE_QT4= qmake_build moc_build rcc_build uic_build gui network
USES= cmake:outsource
CMAKE_SOURCE_PATH= ${WRKSRC}/src
USE_GITHUB= yes
GH_ACCOUNT= speedcrunch
GH_PROJECT= SpeedCrunch
GH_COMMIT= 90d56d1
pre-configure:
${REINPLACE_CMD} -e '/CMAKE_COLOR_MAKEFILE/d' \
-e '/CMAKE_VERBOSE_MAKEFILE/d' \
${WRKSRC}/src/CMakeLists.txt
.include <bsd.port.mk>