svn commit: r411646 - in head/devel: cmake cmake-gui

Raphael Kubo da Costa rakuco at FreeBSD.org
Tue Mar 22 10:59:56 UTC 2016


Author: rakuco
Date: Tue Mar 22 10:59:54 2016
New Revision: 411646
URL: https://svnweb.freebsd.org/changeset/ports/411646

Log:
  cmake, cmake-gui: Use ${PORTVERSION:R} in MASTER_SITES.
  
  This reduces the number of lines that need to be changed on CMake updates.
  Thanks to sunpoet for the suggestion.

Modified:
  head/devel/cmake-gui/Makefile
  head/devel/cmake/Makefile

Modified: head/devel/cmake-gui/Makefile
==============================================================================
--- head/devel/cmake-gui/Makefile	Tue Mar 22 10:53:25 2016	(r411645)
+++ head/devel/cmake-gui/Makefile	Tue Mar 22 10:59:54 2016	(r411646)
@@ -3,7 +3,7 @@
 PORTNAME=	cmake
 PORTVERSION=	3.5.0
 CATEGORIES=	devel
-MASTER_SITES=	https://www.cmake.org/files/v3.5/
+MASTER_SITES=	https://www.cmake.org/files/v${PORTVERSION:R}/
 PKGNAMESUFFIX=	-gui
 
 MAINTAINER=	kde at FreeBSD.org

Modified: head/devel/cmake/Makefile
==============================================================================
--- head/devel/cmake/Makefile	Tue Mar 22 10:53:25 2016	(r411645)
+++ head/devel/cmake/Makefile	Tue Mar 22 10:59:54 2016	(r411646)
@@ -5,7 +5,7 @@ PORTNAME=	cmake
 PORTVERSION=	3.5.0
 PORTREVISION?=	0
 CATEGORIES=	devel
-MASTER_SITES=	https://www.cmake.org/files/v3.5/
+MASTER_SITES=	https://www.cmake.org/files/v${PORTVERSION:R}/
 
 MAINTAINER=	kde at FreeBSD.org
 COMMENT?=	Cross-platform Makefile generator


More information about the svn-ports-head mailing list