summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-21 15:41:43 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-21 15:41:43 +0000
commit801a0327e59abed51cd91ade5f9a715bbadde11d (patch)
tree333e8bd74a899951766b0e6012baae246d2462a3
parent- Update to 4.024 (diff)
- Update to 1.0.5
- While I'm here, use REINPLACE_CMD instead of patch file Changes: https://fedorahosted.org/cmake-fedora/#News PR: ports/182256 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=327826
-rw-r--r--devel/cmake-fedora/Makefile7
-rw-r--r--devel/cmake-fedora/distinfo4
-rw-r--r--devel/cmake-fedora/files/patch-DateTimeFormat.cmake11
3 files changed, 6 insertions, 16 deletions
diff --git a/devel/cmake-fedora/Makefile b/devel/cmake-fedora/Makefile
index 7b36c3861fcd..ae27bad23a21 100644
--- a/devel/cmake-fedora/Makefile
+++ b/devel/cmake-fedora/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= cmake-fedora
-PORTVERSION= 1.0.3
+PORTVERSION= 1.0.5
CATEGORIES= devel
MASTER_SITES= https://fedorahosted.org/releases/c/m/cmake-fedora/
DISTNAME= ${PORTNAME}-${PORTVERSION}-modules-only
@@ -14,10 +14,11 @@ LICENSE= BSD
WRKSRC= ${WRKDIR}/Modules
NO_BUILD= yes
-
NO_STAGE= yes
+REINPLACE_ARGS= -i ''
+
post-patch:
- @${FIND} ${WRKSRC} -name '*.orig' -delete
+ @${REINPLACE_CMD} -e 's|date --utc|date -u|' ${WRKSRC}/DateTimeFormat.cmake
do-install:
${MKDIR} ${PREFIX}/share/cmake/Modules
diff --git a/devel/cmake-fedora/distinfo b/devel/cmake-fedora/distinfo
index e54692e31f5d..d92bd22e5321 100644
--- a/devel/cmake-fedora/distinfo
+++ b/devel/cmake-fedora/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cmake-fedora-1.0.3-modules-only.tar.gz) = 263e9f93e7fb3112d3837da4ad302b7e877c994120ecdd5e60e585c330bd5473
-SIZE (cmake-fedora-1.0.3-modules-only.tar.gz) = 25290
+SHA256 (cmake-fedora-1.0.5-modules-only.tar.gz) = e757b53413dd5e9a3251ee4e5723a7bdb43bc8092edbc2bd94e14077f49e8cc6
+SIZE (cmake-fedora-1.0.5-modules-only.tar.gz) = 25429
diff --git a/devel/cmake-fedora/files/patch-DateTimeFormat.cmake b/devel/cmake-fedora/files/patch-DateTimeFormat.cmake
deleted file mode 100644
index 042c70ee1d12..000000000000
--- a/devel/cmake-fedora/files/patch-DateTimeFormat.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
---- DateTimeFormat.cmake.orig 2012-08-13 12:04:36.000000000 +0800
-+++ DateTimeFormat.cmake 2012-08-13 12:04:42.000000000 +0800
-@@ -28,7 +28,7 @@
- IF(_locale)
- SET(ENV{LC_ALL} ${_locale})
- ENDIF(_locale)
-- COMMAND_OUTPUT_TO_VARIABLE(${date_var} date --utc "${format}")
-+ COMMAND_OUTPUT_TO_VARIABLE(${date_var} date -u "${format}")
- ENDMACRO(TODAY date_var format)
-
- TODAY(TODAY_CHANGELOG "+%a %b %d %Y" "C")