- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-09-21 15:41:43 +00:00
parent 93981ceb01
commit 801a0327e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327826
3 changed files with 6 additions and 16 deletions

View file

@ -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

View file

@ -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

View file

@ -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")