Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2018 14:26:30 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r483585 - branches/2018Q4/cad/freecad
Message-ID:  <201810311426.w9VEQUcD028764@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Oct 31 14:26:29 2018
New Revision: 483585
URL: https://svnweb.freebsd.org/changeset/ports/483585

Log:
  MFH: r483569
  
  cad/freecad: update to 0.17.13541
  
  - Restore revision number lost in r467912 but not other bits as those
    aren't available/useful outside of VCS
  
  Changes:	https://github.com/FreeCAD/FreeCAD/compare/0.17...9948ee4f1
  PR:		232696
  Requested by:	kunda (upstream)
  Approved by:	ports-secteam (miwi)

Modified:
  branches/2018Q4/cad/freecad/Makefile
  branches/2018Q4/cad/freecad/distinfo
Directory Properties:
  branches/2018Q4/   (props changed)

Modified: branches/2018Q4/cad/freecad/Makefile
==============================================================================
--- branches/2018Q4/cad/freecad/Makefile	Wed Oct 31 14:24:09 2018	(r483584)
+++ branches/2018Q4/cad/freecad/Makefile	Wed Oct 31 14:26:29 2018	(r483585)
@@ -1,8 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	FreeCAD
-DISTVERSION=	0.17.13509
-PORTREVISION=	4
+DISTVERSION=	0.17-13541 # git rev-list --count
+DISTVERSIONSUFFIX=	-g9948ee4f1
 CATEGORIES=	cad
 
 MAINTAINER=	ports@FreeBSD.org
@@ -33,6 +33,7 @@ RUN_DEPENDS=	pivy>0:graphics/py-pivy@${PY_FLAVOR}
 
 USES=		dos2unix compiler:c++11-lib cmake:outsource eigen:3 fortran jpeg \
 		python:2.7 localbase qt:4
+USE_GITHUB=	yes
 USE_XORG=	ice sm x11 xext xt
 USE_GL=		gl glu
 USE_QT=		qmake_build corelib gui moc_build network opengl rcc_build \
@@ -52,9 +53,6 @@ CFLAGS+=	-I${LOCALBASE}/include/hdf5-18
 
 CMAKE_INSTALL_PREFIX=	${PREFIX}/${PORTNAME}
 
-USE_GITHUB=	yes
-GH_TAGNAME=	0.17
-
 OPTIONS_DEFINE=	COLLADA
 
 COLLADA_DESC=		Install pycollada for Collada files import
@@ -64,8 +62,12 @@ DESKTOP_ENTRIES=${PORTNAME} "" "${PREFIX}/FreeCAD/data
 		${PORTNAME} "Engineering;" false
 
 post-patch:
+	@${REINPLACE_CMD} -e '/sed/s,-i,& \\"\\",' \
+		${WRKSRC}/cMake/FindPySide*Tools.cmake
 	@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \
 		${WRKSRC}/src/Gui/CMakeLists.txt
+	@${REINPLACE_CMD} -e '/self\.rev/s/Unknown/${DISTVERSION:C/.*-//}/' \
+		${WRKSRC}/src/Tools/SubWCRev.py
 
 pre-configure:
 	# To be removed when french/med will be built against science/hdf5

Modified: branches/2018Q4/cad/freecad/distinfo
==============================================================================
--- branches/2018Q4/cad/freecad/distinfo	Wed Oct 31 14:24:09 2018	(r483584)
+++ branches/2018Q4/cad/freecad/distinfo	Wed Oct 31 14:26:29 2018	(r483585)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1524363465
-SHA256 (FreeCAD-FreeCAD-0.17.13509-0.17_GH0.tar.gz) = ae017393476b6dc7f1192bcaf91ceedc2f9b791f2495307ce7c45efadb5266fb
-SIZE (FreeCAD-FreeCAD-0.17.13509-0.17_GH0.tar.gz) = 192379828
+TIMESTAMP = 1534399137
+SHA256 (FreeCAD-FreeCAD-0.17-13541-g9948ee4f1_GH0.tar.gz) = 9193b071ad92be3324a8dbb388e9f458f6e04989661cec30b736e0fb1bc914e9
+SIZE (FreeCAD-FreeCAD-0.17-13541-g9948ee4f1_GH0.tar.gz) = 192398607



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