aboutsummaryrefslogtreecommitdiff
path: root/devel/cmake-fedora
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-08-15 06:39:39 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-08-15 06:39:39 +0000
commitd48bff47de9200e0e8542317abf84e0bbf0c8d6a (patch)
treef1259a36accffabad37eaa04336c2dda4352b71b /devel/cmake-fedora
parentad0dc6c8e57cd437e6b3108a3a1d87e005c903c1 (diff)
downloadports-d48bff47de9200e0e8542317abf84e0bbf0c8d6a.tar.gz
ports-d48bff47de9200e0e8542317abf84e0bbf0c8d6a.zip
Notes
Diffstat (limited to 'devel/cmake-fedora')
-rw-r--r--devel/cmake-fedora/Makefile5
-rw-r--r--devel/cmake-fedora/distinfo4
-rw-r--r--devel/cmake-fedora/files/patch-DateTimeFormat.cmake11
-rw-r--r--devel/cmake-fedora/pkg-plist15
4 files changed, 25 insertions, 10 deletions
diff --git a/devel/cmake-fedora/Makefile b/devel/cmake-fedora/Makefile
index 11f90a6b289f..8c1477f93519 100644
--- a/devel/cmake-fedora/Makefile
+++ b/devel/cmake-fedora/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cmake-fedora
-PORTVERSION= 0.8.1
+PORTVERSION= 1.0.3
CATEGORIES= devel
MASTER_SITES= https://fedorahosted.org/releases/c/m/cmake-fedora/
DISTNAME= ${PORTNAME}-${PORTVERSION}-modules-only
@@ -19,6 +19,9 @@ LICENSE= BSD
WRKSRC= ${WRKDIR}/Modules
NO_BUILD= yes
+post-patch:
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
+
do-install:
${MKDIR} ${PREFIX}/share/cmake/Modules
cd ${WRKSRC}/ && \
diff --git a/devel/cmake-fedora/distinfo b/devel/cmake-fedora/distinfo
index ea79bfd178a2..e54692e31f5d 100644
--- a/devel/cmake-fedora/distinfo
+++ b/devel/cmake-fedora/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cmake-fedora-0.8.1-modules-only.tar.gz) = 019b1d6727430e305996eb042410be83af9c780bcaf197501b16aca42ee68643
-SIZE (cmake-fedora-0.8.1-modules-only.tar.gz) = 26660
+SHA256 (cmake-fedora-1.0.3-modules-only.tar.gz) = 263e9f93e7fb3112d3837da4ad302b7e877c994120ecdd5e60e585c330bd5473
+SIZE (cmake-fedora-1.0.3-modules-only.tar.gz) = 25290
diff --git a/devel/cmake-fedora/files/patch-DateTimeFormat.cmake b/devel/cmake-fedora/files/patch-DateTimeFormat.cmake
new file mode 100644
index 000000000000..042c70ee1d12
--- /dev/null
+++ b/devel/cmake-fedora/files/patch-DateTimeFormat.cmake
@@ -0,0 +1,11 @@
+--- 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")
diff --git a/devel/cmake-fedora/pkg-plist b/devel/cmake-fedora/pkg-plist
index a280df371713..0a53e2efefe4 100644
--- a/devel/cmake-fedora/pkg-plist
+++ b/devel/cmake-fedora/pkg-plist
@@ -1,20 +1,21 @@
-share/cmake/Modules/CMakeVersion.cmake
share/cmake/Modules/DateTimeFormat.cmake
+share/cmake/Modules/ManageAPIDoc.cmake
+share/cmake/Modules/ManageArchive.cmake
share/cmake/Modules/ManageEnvironment.cmake
-share/cmake/Modules/ManageMaintainerTargets.cmake
+share/cmake/Modules/ManageGConf.cmake
+share/cmake/Modules/ManageInstall.cmake
share/cmake/Modules/ManageMessage.cmake
+share/cmake/Modules/ManageRPM.cmake
share/cmake/Modules/ManageRelease.cmake
-share/cmake/Modules/ManageReleaseOnFedora.cmake
+share/cmake/Modules/ManageReleaseFedora.cmake
share/cmake/Modules/ManageSourceVersionControl.cmake
share/cmake/Modules/ManageString.cmake
+share/cmake/Modules/ManageTarget.cmake
share/cmake/Modules/ManageTranslation.cmake
share/cmake/Modules/ManageUninstall.cmake
+share/cmake/Modules/ManageUpload.cmake
share/cmake/Modules/ManageVariable.cmake
share/cmake/Modules/ManageVersion.cmake
-share/cmake/Modules/PackRPM.cmake
-share/cmake/Modules/PackSource.cmake
-share/cmake/Modules/UseDoxygen.cmake
-share/cmake/Modules/UseGConf.cmake
share/cmake/Modules/cmake_uninstall.cmake.in
@dirrmtry share/cmake/Modules
@dirrmtry share/cmake