freebsd-ports/math/speedcrunch/Makefile
Alexey Dokuchaev abc623e206 - Reorder Makefile knobs to what is normally expected in our ports, and
switch from setting more low-level CMAKE_SOURCE_PATH to WRKSRC_SUBDIR
- Current port version is 0.12.0 while upstream lists it as 0.12; while
  they're equal per `pkg version -t', leave an XXX note to make both of
  them consistent and report correct version in the About dialog window
- Take the port under my wing for the time being
2019-03-16 16:03:11 +00:00

32 lines
893 B
Makefile

# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= speedcrunch
PORTVERSION= 0.12.0 # XXX: should really be 0.12, change upon next update
DISTVERSIONSUFFIX= -${BB_COMMIT}
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Keyboard-oriented desktop scientific calculator
LICENSE= GPLv2+
BB_ACCOUNT= heldercorreia
BB_PROJECT= ${PORTNAME}
BB_COMMIT= c0fc9c68d292
USES= cmake compiler:c++11-lang qt:5
USE_QT= buildtools_build qmake_build core gui help sql widgets
USE_XORG= x11
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
WRKSRC_SUBDIR= src
post-patch:
@${REINPLACE_CMD} -e 's|-W[-_[:alnum:]]*|| ; s|metainfo|appdata| \
; s|master|${PORTVERSION:R}-git-${BB_COMMIT}|' \
${CMAKE_SOURCE_PATH}/CMakeLists.txt
.include <bsd.port.mk>