svn commit: r495901 - head/math/speedcrunch
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Mar 16 16:03:12 UTC 2019
Author: danfe
Date: Sat Mar 16 16:03:11 2019
New Revision: 495901
URL: https://svnweb.freebsd.org/changeset/ports/495901
Log:
- 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
Modified:
head/math/speedcrunch/Makefile
Modified: head/math/speedcrunch/Makefile
==============================================================================
--- head/math/speedcrunch/Makefile Sat Mar 16 16:01:26 2019 (r495900)
+++ head/math/speedcrunch/Makefile Sat Mar 16 16:03:11 2019 (r495901)
@@ -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 at FreeBSD.org
+MAINTAINER= danfe at 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>
More information about the svn-ports-all
mailing list