Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2019 21:49:26 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518607 - in head/textproc/uncrustify: . files
Message-ID:  <201911282149.xASLnQEt010744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Nov 28 21:49:26 2019
New Revision: 518607
URL: https://svnweb.freebsd.org/changeset/ports/518607

Log:
  - Update to 0.70.1

Added:
  head/textproc/uncrustify/files/
  head/textproc/uncrustify/files/patch-CMakeLists.txt   (contents, props changed)
Deleted:
  head/textproc/uncrustify/pkg-plist
Modified:
  head/textproc/uncrustify/Makefile
  head/textproc/uncrustify/distinfo

Modified: head/textproc/uncrustify/Makefile
==============================================================================
--- head/textproc/uncrustify/Makefile	Thu Nov 28 21:23:40 2019	(r518606)
+++ head/textproc/uncrustify/Makefile	Thu Nov 28 21:49:26 2019	(r518607)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	uncrustify
-PORTVERSION=	0.70.0
+PORTVERSION=	0.70.1
 DISTVERSIONPREFIX=	${PORTNAME}-
 CATEGORIES=	textproc
 
@@ -19,17 +19,16 @@ CMAKE_ARGS=	-DNoGitVersionString:BOOL=TRUE
 TEST_TARGET=	test
 
 PORTDOCS=	*
+PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	DOCS
+PLIST_FILES=	bin/uncrustify man/man1/uncrustify.1.gz
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 # fixes build on gcc archs (unrecognized command line option
 # -std=gnu++0x), but may introduce other errors in future
 post-patch:
 	@${REINPLACE_CMD} -e '/gnu++0x/ d' ${WRKSRC}/CMakeLists.txt
-
-post-install:
-	@${MKDIR} ${STAGEDIR}${ETCDIR}
-	${INSTALL_DATA} ${WRKSRC}/etc/*.cfg ${STAGEDIR}${ETCDIR}
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/textproc/uncrustify/distinfo
==============================================================================
--- head/textproc/uncrustify/distinfo	Thu Nov 28 21:23:40 2019	(r518606)
+++ head/textproc/uncrustify/distinfo	Thu Nov 28 21:49:26 2019	(r518607)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1574077341
-SHA256 (uncrustify-uncrustify-uncrustify-0.70.0_GH0.tar.gz) = d8ff60852e6db90c855cab18dd8003fde6f8694d8a85556a86f01114729c5185
-SIZE (uncrustify-uncrustify-uncrustify-0.70.0_GH0.tar.gz) = 1638766
+TIMESTAMP = 1574884154
+SHA256 (uncrustify-uncrustify-uncrustify-0.70.1_GH0.tar.gz) = ad0a7b1f68aa3527d1b89d177d192385fe41b830d46167bde3c3b578e9b0ed06
+SIZE (uncrustify-uncrustify-uncrustify-0.70.1_GH0.tar.gz) = 1644844

Added: head/textproc/uncrustify/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/uncrustify/files/patch-CMakeLists.txt	Thu Nov 28 21:49:26 2019	(r518607)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2019-11-15 17:59:39 UTC
++++ CMakeLists.txt
+@@ -465,7 +465,7 @@ else()
+     DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
+   )
+   install(DIRECTORY "${PROJECT_SOURCE_DIR}/etc/"
+-    DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/uncrustify"
++    DESTINATION "${CMAKE_INSTALL_DOCDIR}/examples"
+     FILES_MATCHING PATTERN "*.cfg"
+   )
+ endif()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911282149.xASLnQEt010744>