Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2019 16:03:11 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495901 - head/math/speedcrunch
Message-ID:  <201903161603.x2GG3BTX082257@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903161603.x2GG3BTX082257>