aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2016-03-22 18:59:54 +0800
committerrakuco <rakuco@FreeBSD.org>2016-03-22 18:59:54 +0800
commitbcd1b4a5a7f07c66e613de31dc3b7c02443e5788 (patch)
treeb1d1a11eac5bd7300b85661d5aa70499627f4568
parentbf538b5c36bf2bc3ac8fd70c87b865fbd72126b8 (diff)
downloadfreebsd-ports-graphics-bcd1b4a5a7f07c66e613de31dc3b7c02443e5788.tar.gz
freebsd-ports-graphics-bcd1b4a5a7f07c66e613de31dc3b7c02443e5788.tar.zst
freebsd-ports-graphics-bcd1b4a5a7f07c66e613de31dc3b7c02443e5788.zip
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.
-rw-r--r--devel/cmake-gui/Makefile2
-rw-r--r--devel/cmake/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/cmake-gui/Makefile b/devel/cmake-gui/Makefile
index a0404964fc1..a1c7a90ba3b 100644
--- a/devel/cmake-gui/Makefile
+++ b/devel/cmake-gui/Makefile
@@ -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@FreeBSD.org
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index 66ab1472116..9f7a6f9528c 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -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@FreeBSD.org
COMMENT?= Cross-platform Makefile generator