1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

- 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
This commit is contained in:
Alexey Dokuchaev 2019-03-16 16:03:11 +00:00
parent c5dc55471e
commit abc623e206
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495901

View File

@ -2,31 +2,31 @@
# $FreeBSD$
PORTNAME= speedcrunch
PORTVERSION= 0.12.0
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= ports@FreeBSD.org
MAINTAINER= danfe@FreeBSD.org
COMMENT= Keyboard-oriented desktop scientific calculator
LICENSE= GPLv2+
USES= cmake compiler:c++11-lang qt:5
BB_ACCOUNT= heldercorreia
BB_PROJECT= ${PORTNAME}
BB_COMMIT= c0fc9c68d292
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
CMAKE_SOURCE_PATH= ${WRKSRC}/src
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}-git-${BB_COMMIT}|' \
; s|master|${PORTVERSION:R}-git-${BB_COMMIT}|' \
${CMAKE_SOURCE_PATH}/CMakeLists.txt
.include <bsd.port.mk>