aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-11-24 23:52:21 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-11-24 23:52:21 +0800
commit3b7211872e1ac505564c0dfad59e35cbc5eaa432 (patch)
treea11c40f96559780ade81fe7a2b797a13b3dc7cc7
parent5f8ea452c3f7ce42996f54e87f75478fd3eb3b22 (diff)
downloadfreebsd-ports-gnome-3b7211872e1ac505564c0dfad59e35cbc5eaa432.tar.gz
freebsd-ports-gnome-3b7211872e1ac505564c0dfad59e35cbc5eaa432.tar.zst
freebsd-ports-gnome-3b7211872e1ac505564c0dfad59e35cbc5eaa432.zip
- Update to 0.66.1
-rw-r--r--textproc/uncrustify/Makefile4
-rw-r--r--textproc/uncrustify/distinfo6
-rw-r--r--textproc/uncrustify/files/patch-CMakeLists.txt35
3 files changed, 5 insertions, 40 deletions
diff --git a/textproc/uncrustify/Makefile b/textproc/uncrustify/Makefile
index 983f8784df54..af1e37e69486 100644
--- a/textproc/uncrustify/Makefile
+++ b/textproc/uncrustify/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= uncrustify
-PORTVERSION= 0.65
+PORTVERSION= 0.66.1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -18,7 +18,7 @@ BROKEN_powerpc64= fails to compile: cc1plus: error: unrecognized command line op
NO_WRKSUBDIR= yes
USES= cmake:outsource
-CMAKE_ARGS= -DCURRENT_VERSION="${PORTVERSION}"
+CMAKE_ARGS= -DNoGitVersionString:BOOL=TRUE
TEST_TARGET= test
PORTDOCS= *
diff --git a/textproc/uncrustify/distinfo b/textproc/uncrustify/distinfo
index 11afa5eda89c..1ef05aacfd8b 100644
--- a/textproc/uncrustify/distinfo
+++ b/textproc/uncrustify/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1495202939
-SHA256 (uncrustify-0.65.tar.gz) = 7f7afc2ecbaf9dab3c460da39bb97a77c199e62a1dd8bd26300ef5679a789d76
-SIZE (uncrustify-0.65.tar.gz) = 1377090
+TIMESTAMP = 1511526864
+SHA256 (uncrustify-0.66.1.tar.gz) = 4b36dabcb33cfc286d79ea8fcb5babadf1d0a25eb5eb7ea9da650414325063e4
+SIZE (uncrustify-0.66.1.tar.gz) = 1207329
diff --git a/textproc/uncrustify/files/patch-CMakeLists.txt b/textproc/uncrustify/files/patch-CMakeLists.txt
deleted file mode 100644
index 309d7f5bbaa7..000000000000
--- a/textproc/uncrustify/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,35 +0,0 @@
---- CMakeLists.txt.orig 2017-05-18 15:15:24 UTC
-+++ CMakeLists.txt
-@@ -116,32 +116,6 @@ endif()
- #
- # Generate uncrustify_version.h
- #
--
--# FIXME: checking for CMAKE_BUILD_TYPE and passing it to make_version.py
--# does not work with VS .sln projects
--if(NOT CMAKE_BUILD_TYPE)
-- set(CMAKE_BUILD_TYPE Release)
--endif()
--# FIXME: the version number should be automatically integrated
--set(FALLBACK_VERSION "Uncrustify-0.65_f")
--
--find_package(PythonInterp REQUIRED)
--execute_process(
-- COMMAND ${PYTHON_EXECUTABLE} scripts/make_version.py ${CMAKE_BUILD_TYPE}
-- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
-- RESULT_VARIABLE make_version_error
-- OUTPUT_VARIABLE make_version_output
--)
--
--message(STATUS )
--if (make_version_error)
-- message(WARNING "scripts/make_version.py exited with code ${make_version_error}: ${make_version_output}\n"
-- "As a fallback, version '${FALLBACK_VERSION}' will be used.")
-- set( CURRENT_VERSION ${FALLBACK_VERSION} )
--else()
-- string(STRIP ${make_version_output} CURRENT_VERSION)
--endif()
--
- configure_file(src/uncrustify_version.h.in uncrustify_version.h @ONLY)
-
- #