- Update to 0.70.1
This commit is contained in:
parent
b4a62607a3
commit
1e2ab7aa2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518607
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= uncrustify
|
||||
PORTVERSION= 0.70.0
|
||||
PORTVERSION= 0.70.1
|
||||
DISTVERSIONPREFIX= ${PORTNAME}-
|
||||
CATEGORIES= textproc
|
||||
|
||||
@ -19,18 +19,17 @@ 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}
|
||||
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}/
|
||||
|
@ -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
|
||||
|
11
textproc/uncrustify/files/patch-CMakeLists.txt
Normal file
11
textproc/uncrustify/files/patch-CMakeLists.txt
Normal file
@ -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()
|
@ -1,36 +0,0 @@
|
||||
bin/uncrustify
|
||||
%%ETCDIR%%/MS-calling_conventions.cfg
|
||||
%%ETCDIR%%/amxmodx.cfg
|
||||
%%ETCDIR%%/ben.cfg
|
||||
%%ETCDIR%%/ben2.cfg
|
||||
%%ETCDIR%%/d.cfg
|
||||
%%ETCDIR%%/defaults.cfg
|
||||
%%ETCDIR%%/freebsd.cfg
|
||||
%%ETCDIR%%/gnu-indent.cfg
|
||||
%%ETCDIR%%/klaus.cfg
|
||||
%%ETCDIR%%/kr-indent.cfg
|
||||
%%ETCDIR%%/linux-indent.cfg
|
||||
%%ETCDIR%%/linux.cfg
|
||||
%%ETCDIR%%/mono.cfg
|
||||
%%ETCDIR%%/msvc.cfg
|
||||
%%ETCDIR%%/objc.cfg
|
||||
%%ETCDIR%%/sun.cfg
|
||||
%%ETCDIR%%/xsupplicant.cfg
|
||||
%%DATADIR%%/MS-calling_conventions.cfg
|
||||
%%DATADIR%%/amxmodx.cfg
|
||||
%%DATADIR%%/ben.cfg
|
||||
%%DATADIR%%/ben2.cfg
|
||||
%%DATADIR%%/d.cfg
|
||||
%%DATADIR%%/defaults.cfg
|
||||
%%DATADIR%%/freebsd.cfg
|
||||
%%DATADIR%%/gnu-indent.cfg
|
||||
%%DATADIR%%/klaus.cfg
|
||||
%%DATADIR%%/kr-indent.cfg
|
||||
%%DATADIR%%/linux-indent.cfg
|
||||
%%DATADIR%%/linux.cfg
|
||||
%%DATADIR%%/mono.cfg
|
||||
%%DATADIR%%/msvc.cfg
|
||||
%%DATADIR%%/objc.cfg
|
||||
%%DATADIR%%/sun.cfg
|
||||
%%DATADIR%%/xsupplicant.cfg
|
||||
man/man1/uncrustify.1.gz
|
Loading…
Reference in New Issue
Block a user