head 1.29; access; symbols pkgsrc-2026Q1:1.29.0.4 pkgsrc-2026Q1-base:1.29 pkgsrc-2025Q4:1.29.0.2 pkgsrc-2025Q4-base:1.29 pkgsrc-2025Q3:1.27.0.2 pkgsrc-2025Q3-base:1.27 pkgsrc-2025Q2:1.25.0.2 pkgsrc-2025Q2-base:1.25 pkgsrc-2025Q1:1.23.0.42 pkgsrc-2025Q1-base:1.23 pkgsrc-2024Q4:1.23.0.40 pkgsrc-2024Q4-base:1.23 pkgsrc-2024Q3:1.23.0.38 pkgsrc-2024Q3-base:1.23 pkgsrc-2024Q2:1.23.0.36 pkgsrc-2024Q2-base:1.23 pkgsrc-2024Q1:1.23.0.34 pkgsrc-2024Q1-base:1.23 pkgsrc-2023Q4:1.23.0.32 pkgsrc-2023Q4-base:1.23 pkgsrc-2023Q3:1.23.0.30 pkgsrc-2023Q3-base:1.23 pkgsrc-2023Q2:1.23.0.28 pkgsrc-2023Q2-base:1.23 pkgsrc-2023Q1:1.23.0.26 pkgsrc-2023Q1-base:1.23 pkgsrc-2022Q4:1.23.0.24 pkgsrc-2022Q4-base:1.23 pkgsrc-2022Q3:1.23.0.22 pkgsrc-2022Q3-base:1.23 pkgsrc-2022Q2:1.23.0.20 pkgsrc-2022Q2-base:1.23 pkgsrc-2022Q1:1.23.0.18 pkgsrc-2022Q1-base:1.23 pkgsrc-2021Q4:1.23.0.16 pkgsrc-2021Q4-base:1.23 pkgsrc-2021Q3:1.23.0.14 pkgsrc-2021Q3-base:1.23 pkgsrc-2021Q2:1.23.0.12 pkgsrc-2021Q2-base:1.23 pkgsrc-2021Q1:1.23.0.10 pkgsrc-2021Q1-base:1.23 pkgsrc-2020Q4:1.23.0.8 pkgsrc-2020Q4-base:1.23 pkgsrc-2020Q3:1.23.0.6 pkgsrc-2020Q3-base:1.23 pkgsrc-2020Q2:1.23.0.4 pkgsrc-2020Q2-base:1.23 pkgsrc-2020Q1:1.23.0.2 pkgsrc-2020Q1-base:1.23 pkgsrc-2019Q4:1.21.0.18 pkgsrc-2019Q4-base:1.21 pkgsrc-2019Q3:1.21.0.14 pkgsrc-2019Q3-base:1.21 pkgsrc-2019Q2:1.21.0.12 pkgsrc-2019Q2-base:1.21 pkgsrc-2019Q1:1.21.0.10 pkgsrc-2019Q1-base:1.21 pkgsrc-2018Q4:1.21.0.8 pkgsrc-2018Q4-base:1.21 pkgsrc-2018Q3:1.21.0.6 pkgsrc-2018Q3-base:1.21 pkgsrc-2018Q2:1.21.0.4 pkgsrc-2018Q2-base:1.21 pkgsrc-2018Q1:1.21.0.2 pkgsrc-2018Q1-base:1.21 pkgsrc-2017Q4:1.18.0.14 pkgsrc-2017Q4-base:1.18 pkgsrc-2017Q3:1.18.0.12 pkgsrc-2017Q3-base:1.18 pkgsrc-2017Q2:1.18.0.8 pkgsrc-2017Q2-base:1.18 pkgsrc-2017Q1:1.18.0.6 pkgsrc-2017Q1-base:1.18 pkgsrc-2016Q4:1.18.0.4 pkgsrc-2016Q4-base:1.18 pkgsrc-2016Q3:1.18.0.2 pkgsrc-2016Q3-base:1.18 pkgsrc-2016Q2:1.17.0.12 pkgsrc-2016Q2-base:1.17 pkgsrc-2016Q1:1.17.0.10 pkgsrc-2016Q1-base:1.17 pkgsrc-2015Q4:1.17.0.8 pkgsrc-2015Q4-base:1.17 pkgsrc-2015Q3:1.17.0.6 pkgsrc-2015Q3-base:1.17 pkgsrc-2015Q2:1.17.0.4 pkgsrc-2015Q2-base:1.17 pkgsrc-2015Q1:1.17.0.2 pkgsrc-2015Q1-base:1.17 pkgsrc-2014Q4:1.16.0.4 pkgsrc-2014Q4-base:1.16 pkgsrc-2014Q3:1.16.0.2 pkgsrc-2014Q3-base:1.16 pkgsrc-2014Q2:1.15.0.10 pkgsrc-2014Q2-base:1.15 pkgsrc-2014Q1:1.15.0.8 pkgsrc-2014Q1-base:1.15 pkgsrc-2013Q4:1.15.0.6 pkgsrc-2013Q4-base:1.15 pkgsrc-2013Q3:1.15.0.4 pkgsrc-2013Q3-base:1.15 pkgsrc-2013Q2:1.15.0.2 pkgsrc-2013Q2-base:1.15 pkgsrc-2013Q1:1.14.0.4 pkgsrc-2013Q1-base:1.14 pkgsrc-2012Q4:1.14.0.2 pkgsrc-2012Q4-base:1.14 pkgsrc-2012Q3:1.13.0.26 pkgsrc-2012Q3-base:1.13 pkgsrc-2012Q2:1.13.0.24 pkgsrc-2012Q2-base:1.13 pkgsrc-2012Q1:1.13.0.22 pkgsrc-2012Q1-base:1.13 pkgsrc-2011Q4:1.13.0.20 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q3:1.13.0.18 pkgsrc-2011Q3-base:1.13 pkgsrc-2011Q2:1.13.0.16 pkgsrc-2011Q2-base:1.13 pkgsrc-2011Q1:1.13.0.14 pkgsrc-2011Q1-base:1.13 pkgsrc-2010Q4:1.13.0.12 pkgsrc-2010Q4-base:1.13 pkgsrc-2010Q3:1.13.0.10 pkgsrc-2010Q3-base:1.13 pkgsrc-2010Q2:1.13.0.8 pkgsrc-2010Q2-base:1.13 pkgsrc-2010Q1:1.13.0.6 pkgsrc-2010Q1-base:1.13 pkgsrc-2009Q4:1.13.0.4 pkgsrc-2009Q4-base:1.13 pkgsrc-2009Q3:1.13.0.2 pkgsrc-2009Q3-base:1.13 pkgsrc-2009Q2:1.12.0.18 pkgsrc-2009Q2-base:1.12 pkgsrc-2009Q1:1.12.0.16 pkgsrc-2009Q1-base:1.12 pkgsrc-2008Q4:1.12.0.14 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.12.0.12 pkgsrc-2008Q3-base:1.12 cube-native-xorg:1.12.0.10 cube-native-xorg-base:1.12 pkgsrc-2008Q2:1.12.0.8 pkgsrc-2008Q2-base:1.12 cwrapper:1.12.0.6 pkgsrc-2008Q1:1.12.0.4 pkgsrc-2008Q1-base:1.12 pkgsrc-2007Q4:1.12.0.2 pkgsrc-2007Q4-base:1.12 pkgsrc-2007Q3:1.11.0.12 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.11.0.10 pkgsrc-2007Q2-base:1.11 pkgsrc-2007Q1:1.11.0.8 pkgsrc-2007Q1-base:1.11 pkgsrc-2006Q4:1.11.0.6 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.11.0.4 pkgsrc-2006Q3-base:1.11 pkgsrc-2006Q2:1.11.0.2 pkgsrc-2006Q2-base:1.11 pkgsrc-2006Q1:1.10.0.2 pkgsrc-2006Q1-base:1.10 pkgsrc-2005Q4:1.8.0.14 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.12 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.10 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.8 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.6 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.8.0.4 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.8.0.2 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.7.0.2 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.29 date 2025.11.17.11.00.33; author wiz; state Exp; branches; next 1.28; commitid riyAI0LyQsKiDTiG; 1.28 date 2025.10.28.16.25.23; author schmonz; state Exp; branches; next 1.27; commitid 6mMqjEXdsL4O4mgG; 1.27 date 2025.08.18.02.41.37; author schmonz; state Exp; branches; next 1.26; commitid Td2Idz0ZsF3IN97G; 1.26 date 2025.07.27.15.38.57; author schmonz; state Exp; branches; next 1.25; commitid ALDfAjgXfe2eOo4G; 1.25 date 2025.06.25.17.04.54; author schmonz; state Exp; branches; next 1.24; commitid bgN6ILPR3K1jji0G; 1.24 date 2025.05.21.18.30.34; author schmonz; state Exp; branches; next 1.23; commitid zwdr8G3lmrQCUNVF; 1.23 date 2020.01.26.05.26.22; author rillig; state Exp; branches; next 1.22; commitid uxXvYG0sFCxwZ9UB; 1.22 date 2020.01.18.23.30.22; author rillig; state Exp; branches; next 1.21; commitid shGUwZfkr7sleeTB; 1.21 date 2018.03.17.17.16.59; author schmonz; state Exp; branches; next 1.20; commitid mvii0U69PCPEMPuA; 1.20 date 2018.02.18.04.34.20; author rillig; state Exp; branches; next 1.19; commitid 5CbKWz4WNPoGqirA; 1.19 date 2018.02.18.04.16.59; author rillig; state Exp; branches; next 1.18; commitid xGqMiDgeJjMPkirA; 1.18 date 2016.07.11.18.26.52; author schmonz; state Exp; branches; next 1.17; commitid BEhzhKRScnqnUVdz; 1.17 date 2015.03.13.17.08.14; author tnn; state Exp; branches; next 1.16; commitid LFNnALBN2e6V5tdy; 1.16 date 2014.08.13.20.56.25; author wiz; state Exp; branches; next 1.15; commitid rwdMVj5ImborafMx; 1.15 date 2013.05.25.16.39.39; author shattered; state Exp; branches; next 1.14; commitid dl5H3VkTR9jf32Rw; 1.14 date 2012.10.31.11.16.38; author asau; state Exp; branches; next 1.13; 1.13 date 2009.08.25.11.56.34; author wiz; state Exp; branches; next 1.12; 1.12 date 2007.11.28.19.06.00; author joerg; state Exp; branches; next 1.11; 1.11 date 2006.06.06.21.38.34; author joerg; state Exp; branches; next 1.10; 1.10 date 2006.03.04.21.29.12; author jlam; state Exp; branches; next 1.9; 1.9 date 2006.02.05.23.08.39; author joerg; state Exp; branches; next 1.8; 1.8 date 2004.06.12.02.28.46; author grant; state Exp; branches; next 1.7; 1.7 date 2004.02.18.13.33.40; author jlam; state Exp; branches; next 1.6; 1.6 date 2003.11.05.15.27.41; author jmmv; state Exp; branches; next 1.5; 1.5 date 2003.07.21.16.43.15; author martti; state Exp; branches; next 1.4; 1.4 date 2003.07.17.21.29.32; author grant; state Exp; branches; next 1.3; 1.3 date 2003.06.02.01.20.58; author jschauma; state Exp; branches; next 1.2; 1.2 date 2001.03.15.13.38.58; author hubertf; state Exp; branches; next 1.1; 1.1 date 2001.03.15.13.32.35; author hubertf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.03.15.13.32.35; author hubertf; state Exp; branches; next ; desc @@ 1.29 log @*: switch all sourceforge HOMEPAGEs to https @ text @# $NetBSD: Makefile,v 1.28 2025/10/28 16:25:23 schmonz Exp $ DISTNAME= astyle-3.6.13 CATEGORIES= devel textproc MASTER_SITES= http://www.andre-simon.de/zip/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= schmonz@@NetBSD.org HOMEPAGE= https://astyle.sourceforge.net/ COMMENT= Automatic formatter for C, C++, C++/CLI, C\#, and Java LICENSE= gnu-lgpl-v3 USE_TOOLS+= gmake USE_LANGUAGES= c++ USE_CXX_FEATURES+= c++17 filesystem AUTO_MKDIRS= yes CMAKE_CONFIGURE_ARGS+= -DBUILD_JAVA_LIBS=OFF CMAKE_CONFIGURE_ARGS+= -DBUILD_SHARED_LIBS=OFF CMAKE_CONFIGURE_ARGS+= -DBUILD_STATIC_LIBS=OFF CMAKE_CONFIGURE_ARGS+= -DINSTALL_DOC=ON SUBST_CLASSES+= paths SUBST_STAGE.paths= pre-configure SUBST_FILES.paths= CMakeLists.txt SUBST_VARS.paths= PKGMANDIR post-install: ${INSTALL_DATA} ${WRKSRC}/sh-completion/astyle.bash \ ${DESTDIR}${PREFIX}/share/bash-completion/completions/astyle ${INSTALL_DATA} ${WRKSRC}/sh-completion/astyle.fish \ ${DESTDIR}${PREFIX}/share/fish/vendor_completions.d/ ${INSTALL_DATA} ${WRKSRC}/sh-completion/astyle.zsh \ ${DESTDIR}${PREFIX}/share/zsh/site-functions/_astyle .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/cmake/build.mk" .include "../../mk/bsd.pkg.mk" @ 1.28 log @astyle: update to 3.6.13. Changes: - Fix indent of continued string literal as argument - Fix regression related to template delimters @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2025/08/18 02:41:37 schmonz Exp $ d9 1 a9 1 HOMEPAGE= http://astyle.sourceforge.net/ @ 1.27 log @astyle: update to 3.6.12. Changes: - Improved complex lambda body indentation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2025/07/27 15:38:57 schmonz Exp $ d3 1 a3 1 DISTNAME= astyle-3.6.12 @ 1.26 log @astyle: update to 3.6.11. Changes: - Fix comment recognition after macro definition - Fix indent of switch statements within structs - Improved lambda body indentation - Ignore lines with git conflict markers - Replaced platform file functions by C++ filesystem library @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2025/06/25 17:04:54 schmonz Exp $ d3 1 a3 1 DISTNAME= astyle-3.6.11 @ 1.25 log @astyle: needs C++17 and . Hopefully fixes NetBSD 9 build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2025/05/21 18:30:34 schmonz Exp $ d3 1 a3 1 DISTNAME= astyle-3.6.9 @ 1.24 log @astyle: update to 3.6.9, and take MAINTAINER. Changes: 3.6.9 * Fix --mode parameter in generation script * disable old isInTemplate flag only within structs 3.6.8 * Adjust --break-blocks to break structs and functions only with _all_ option * Fix space between pointer references with --align-pointer=type * Define <<< and >>> operators for Java only * Fix indentation of class modifiers within structs * Fix parsing of nested structs * Another approach to fix interpretation of closing nested templates as operator * Fix indent of multiline strings with macros 3.6.7 * Add --error-on-changes option * Add c++17 flags in VS2022 project files; avoid VS2022 compilation warnings * Prevent --squeeze-ws of removing whitespace before comments * Adjust --pad-include to ignore macros in include directives * Adjust --pad-include section in the docs * Fix interpretation of closing nested templates as operator * Use standard filesystem API to retrieve absolute file paths * Add operator --preserve-ws * Disable --unpad-paren in structs for leading whitespace * Do not remove space after opening parens and align-pointer=type * Fix issue with --pad-oper and *= operand 3.6.6 * Fix indent after assignment operators (correct cause) * Adjust delete-empty-lines feature description * Support non-English versions of VS2022 in CMakeLists 3.6.5 * Add option --accept-empty-list * Fix indent regression due to method extraction * Fix indent in blocks after assignment operators * Fix indent of multi line strings after preprocessor or comment sections * Fix indent after assignment operators * Fix --align-pointer=middle with existing whitespace 3.6.4 * Fix indent of brace initializers within constructor init list * Improve indent of continued string literals * Fix space after opening paren for GSC * Update astyle.html layout * Add deprecation hint for --html * Update install docs * Delete old IDE project files * Move build/cmake scripts content into main CMakeLists.txt 3.6.3 * Fix indent after single open parenthse * Fix padding of operator char * methods * Fix padding of user defined type cast * Fix bitfield line break with macros * Fix GSC modulo padding * Removed flawed option --add-braces=nested 3.6.2 * Reverted alignment of user defined types using --align-pointer 3.6.1 * Fix setting of --pad-negation and --pad-include options * Fix --pad-include with UTF-8 BOM * Improve multiplication recognition with --align-pointer=type * Improve --align-pointer=type after parens and brackets * Removed VMS compilation options * Updated JNI interface to use Arduino IDE conventions 3.6 * Add option --pad-include * Combined GHC and GSC style options * Improve combination of --align-pointer=type and --pad-oper * Improve multiplication recognition with --align-pointer=type * Update compiler options in build files * Fix indent of assignments within macros 3.5.2 * Fix library compilation errors 3.5.1 * Fix crash concerning macro continuation * Fix EOL handling for Windows builds * Fix GSC comment recognition * Fix MSVC compiler warnings 3.5 * Add option --pad-negation * Apply align-pointer=type only if type is present * Avoid deletion of empty lines after continuation * Fix alignment of logical AND operators * Fix recognition of Java/C# multi line strings 3.4.16 * Fix padding of scientific notation literals * Fix of reference args alignment 3.4.15 * Fix parsing of floating point literals * Fix "--break-block" handling of class and function blocks * Fix "--align-pointer=type" option for all types in lambda parameter lists * Fix padding of lambda capture with align-pointer option * Exclude files ending with backup suffix from input file names list 3.4.14 * Fix split references with "-k1" option * Fix "--align-pointer=type" option for fundamental types in lambda parameter lists * Fix "--indent-after-parens" indent count 3.4.13 * Fix comment indent after string macro with R suffix * Do not break single line block after enum in mozilla mode * Adjust cmake policy for new versions only * Update man page path * Add support for scikit-build-core 3.4.12 * Add "--pad-brackets-in" and "--pad-brackets-out" options * Fix indentation of initializer lists * Fix crash with "--add-braces=nested" applied to if-else blocks 3.4.11 * Add new option "--add-braces=nested" to add braces in nested single line statements * Fix indent after double template brackets * Fix indent after dot * Option "--squeeze-lines=1" is no longer default with Linux builds * Add experimental GHC mode * Fix indent after raw string 3.4.10 * Fix missing indent in function parameter list 3.4.9 * Apply one wording for Objective-C in the docs * Fix more CS regressions * Fix inserting space with combined "--pad-oper" and "--align-pointer" options 3.4.8 * Fix lambda broken brace after auto keyword * Fix line break after comment in asm block * Fix padding of multiply operator * Fix indentation of method calls * Fix empty line after closing while block * Add outer padding for empty parens pairs * Fix more CS regressions 3.4.6 * Add VS2022 project files * Fix CS regressions * Add CS coalesce assignment operator 3.4.1 * Fix padding of & following a comma * Fix indent of function declarations following access modifiers * Fix indent of C# allocation blocks * Fix indentation of comments after CS interpolation quotes 3.4 * Fix formatting of CS interpolation literals * Fix false lambda recognition * Fix indentation of member declarations * Fix indentation of struct assignments * Add new option "--indent-lambda" to enable new lambda recognition * Add link to astyle Python distribution projects 3.3 * Add new option "--squeeze-ws" to remove superfluous whitespace (experimental) * Add new option "--squeeze-lines" to remove superfluous empty lines (experimental) * Add new options "--pad-brackets" and "--unpad-brackets" to add or remove whitespace around square brackets (experimental) * Fix indent of lambda bodies in fct calls * Fix indent of struct names including "struct" * Fix indent of C++11 initializer lists * Fix padding of pointers separated by comma * Refactor namespace std usage 3.2.1 * Fix struct recognition related to SF #534 3.2 * Add new option "style=webkit" for the WebKit brace style. * Improve recognition of pointer variable types. * Change CMake files to the "modern" format. * Fix formatting of raw string literals with the opening '(' at the end of line * Fix indentation of comments in a preprocessor define indented with tabs * Fix vector limit segfault with g++-8, recursive, and -D_GLIBCXX_ASSERTIONS * Refactoring: * Extract new method for options in ASOptions class to avoid compiler limits. * Change vector push_back to emplace_back except for vector. * Changes from clang-tidy to modernize code. * added man page * removed deprecated options * added shell completion scripts * added "--mode=js" option * added INVALID_TYPE constant * removed upper limit of "max-continuation-indent" * fixed raw string parsing * fixed recognition of rvalue operator as reference * fixed reverting effect of AttachReturnType option * fixed padding of dereference operator * added C++ spaceship operator * fixed case indent after enum return value * fixed space deletion when aligning ref value name * fixed reverting effect of maxCodeLength and AttachReturnType options * fixed break of continued preprocessor strings with colon * fixed struct bitfield indentation * replace PATH_MAX by realpath * fixed negative integer literal breaks initializer list * fixed documentation of --delete-empty-lines short option * fixed project file search * fixed indent of ObjectiveC statements * fixed parsing of C# interpolation strings * fixed break-blocks format after struct * fixed project file search with wildcard input paths * better description for stat errors * applied IT localization patch * improved DE localization @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2020/01/26 05:26:22 rillig Exp $ d15 1 @ 1.23 log @all: migrate some SourceForge homepage URLs back from https to http https://mail-index.netbsd.org/pkgsrc-changes/2020/01/18/msg205146.html In the above commit, the homepage URLs were migrated from http to https, assuming that SourceForge would use the same host names for both http and https connections. This assumption was wrong. Their documentation at https://sourceforge.net/p/forge/documentation/Custom%20VHOSTs/ states that the https URLs use the domain sourceforge.io instead. To make the homepages from the above commit reachable again, pkglint has been extended to check for reachable homepages. This check is only enabled when the --network command line option is given. Each of the homepages that referred to https://$project.sourceforge.net before was migrated to https://$project.sourceforge.io (27), and if that was not reachable, to the fallback URL http://$project.sourceforge.net (163). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2020/01/18 23:30:22 rillig Exp $ d3 31 a33 25 DISTNAME= astyle_3.1_linux PKGNAME= ${DISTNAME:S/_linux//:S/_/-/} CATEGORIES= textproc devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=astyle/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://astyle.sourceforge.net/ COMMENT= Free, Fast and Small Automatic Formatter for C, C++, C++/CLI, C\#, and Java LICENSE= gnu-lgpl-v3 WRKSRC= ${WRKDIR}/astyle USE_TOOLS+= gmake USE_LANGUAGES= c++ AUTO_MKDIRS= yes .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" BUILD_DIRS= build/mac .else BUILD_DIRS= build/gcc .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${BUILD_DIRS}/bin/astyle ${DESTDIR}${PREFIX}/bin cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DESTDIR}${PREFIX}/share/doc/astyle d36 1 @ 1.22 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2018/03/17 17:16:59 schmonz Exp $ d9 1 a9 1 HOMEPAGE= https://astyle.sourceforge.net/ @ 1.21 log @Fix build on Darwin (at least 17.4.0) by including the Darwin makefile from the "macos" source tarball, which differs from the "linux" one used here only by which build instructions it contains. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2018/02/18 04:34:20 rillig Exp $ d9 1 a9 1 HOMEPAGE= http://astyle.sourceforge.net/ @ 1.20 log @devel/astyle: update to 3.1 Changes since 2.05.1: Artistic Style 3.1 (January 2018) * Add new options "project", "project=####", and "project=none" (#11). * Add new options, "break-return-type" and "break-return-type-decl" (358, 286, 205, 16). * Add new options, "attach-return-type" and "attach-return-type-decl" (358, 286, 205, 16). * Add new option "style=ratliff", as an alternate name for banner style. * Add new environment variable ARTISTIC_STYLE_PROJECT_OPTIONS (#11). * Add multiple extensions to the command line file paths option. * Improve recognition of unary + and - when using pad-oper. * Change the Windows default options file location from USERPROFILE to APPDATA. * Change options file input to accept UTF-16, or UTF-8 with a BOM (or signature). * Change "unsigned short" data type to c++11 "char16_t". * Change translations for new project options file. * Fix utf8LengthFromUtf16() calculation being less than the actual length. * Fix multiply followed by a dereference for "align-pointer=type". * Fix recognition of a uniform class initializer in a base class initialization (#441). * Fix indentation of "volatile" keyword not used in a method definition (#450). * Fix indentation of "final" keyword not used in a method definition (#450). * Fix indentation of compound literals in an argument list (#456). * Fix indentation of trailing return type method following a constructor (#463). * Fix space padding of closing brace before a dot (#468). * Fix Objective-C to allow for "Extern C" statements in the source files (#443, 444, 446). * Fix Objective-C to allow for method definitions without a specified return type (#447). * Fix Objective-C to allow for method definitions with multiple param types. * Fix Objective-C to replace tabbed padding with a space. * Fix Objective-C formatting of line-end comments with "unpad-return-type". * Fix Objective-C "align-method-colon" to ignore ternary (?) operators. * Fix C# base class constructor indentation (#459). * Fix C# indentation of method declaration containing a colon (#465) * Fix C/C++ to allow "interface" as a non-keyword (#445). * Fix Java to allow "default" as a non-switch keyword. * Fix line ends initialization if no line end has been read. * Fix Java build from including ASLocalizer in the shared library. * Fix to check for AStyleWx line tags after C style comments. * Fix boundary conditions and other errors discovered by fuzzing. * Refactoring: * Extract method isNumericVariable() in ASFormatter class. * Extract method isTopLevel() in ASBeautifier class. * Extract method fileExists() in Console class. * Rename ASEncoding variable from "utf8_16" to "encode". * Rename ASBeautifier vector from squareBracketDepthStack to parenDepthStack. * Combine style options in ASOptions class to avoid compiler limits. Artistic Style 3.0.1 (May 2017) * Fix crash caused by certain class initializer formats (#435). * Fix "final" identifier not being recognized as a pre-command header (#433). * Fix recognition of certain rvalue reference variables. Artistic Style 3.0 (April 2017) * Add new option "indent-after-parens" (#396, 152, 108, 79). * Add new option "attach-closing-while" (#177). * Add "style=run-in" as an alternative for "style=horstmann". * Add "break-closing-braces" to "style=stroustrup" (#267). * Add formatting for C++11 trailing return type methods. * Add new class ASPeekStream using RAII to allow early method returns. * Change affected variable names to new AStyle terminology. * Change some vector push_back() statements to emplace_back(). * Fix memory leak when using "indent-preproc-define". * Fix sometimes splitting an r-value reference when "pad-oper" is used. * Fix in-statement-indent brace check not always checking a brace (#421). * Fix formatting of C# get/set and add/remove when braces are attached (#430). * Fix formatting of C# generic constraints (#430). * Fix padding of C# null conditional operator. * Fix attach-inlines to not attach a brace followed by a run-in comment. * Fix not always breaking lines after "add-braces" (#341). * Fix unpadding the "in" in a foreach statement (#386). * Fix boundary conditions discovered by american fuzzy lop fuzzer (#370). * Refactoring: * Replace NULL with C++11 nullptr. * Rename Utf8_16 class to ASEncoding. * Move ASConsole constructor and destructor from inline to non-inline. * Move console error stream (cerr) from global to ASConsole class. * Move ASConsole pointer in ASOptions from global to a class member. * Move findHeader and findOperator methods from ASBeautifier to ASBase. * Minor changes from PVS-Studio analyzer. * Minor changes from clang-tidy. Artistic Style 2.06 (December 2016) * Add new bracket style option "style=mozilla". * Add new option "break-one-line-headers" (#33, 64, 367). * Add new option "indent-continuation". * Add new option "pad-comma" (#100). * Add removing spaces before a comma (#100). * Add new Objective-C options "pad-return-type" (-xq) and "unpad-return-type" (-xr). * Add new Objective-C options "pad-param-type" (-xS) and "unpad-param-type" (-xs). * Add formatting of C++14 single-quote digit separators (#337). * Add indentation for CORBA IDL module statement (#414). * Add translations for Bulgarian, Estonian, Greek, Hungarian, Norwegian, and Romanian. * Remove lineend option from formatCinToCout function. * Improve align-method-colon and apply to Objective-C method calls. * Improve recognition of header guards in preprocessor statements. * Improve recognition of C++11 uniform initializer brackets (#381, 411, 415). * Improve the processing of quoted strings and verbatim strings. * Change align-method-colon short first line to align on the longest line instead of the first line. * Change to not break empty one line brackets to support new "break-one-line-headers". * Change add-brackets to not add to one line blocks to support new "break-one-line-headers". * Change add-brackets to not add to one line statements in support new "break-one-line-headers". * Fix not recognizing an escaped space character within a quote (#403). * Fix not recognizing "else" brackets as COMMAND_TYPE (#400). * Fix attaching "if" statements to a #else preprocessor directive (#356). * Fix not clearing global variables for a new file (#364). * Fix not recognizing an rvalue reference in a template (#404). * Fix breaking a line when processing the first line of a file (#400). * Fix breaking a line in an exponential (#392). * Fix indentation of an "enum" without following brackets (#401, 384). * Fix indentation of arguments using preceding commas (#355). * Fix indentation of Pico style one line blocks. * Fix not padding header for "new" or "delete" followed by parens. * Fix template variable not being cleared at end of a statement (#380). * Fix "close-templates" to only close ending angle brackets (#375). * Fix pad-oper to not pad a + or - following an open bracket (#378). * Fix C# to recognize "using" as a header. * Fix C# to always recognize "forever" as a header. * Fix Pico style not always computing the indentation for one line blocks. * Fix indentation of Objective-C @@interface statement (#333). * Fix assert error when Objective-C "@@" is followed by whitespace. * Fix end of line comments for "pad-method-prefix" and "unpad-method-prefix". * Fix end of line comments for "pad-method-colon". * Refactoring: * Consolidate scattered ASFormatter conditional statements into a padParenObjC method. * Remove BracketMode STROUSTRUP_MODE and change it to LINUX_MODE. * Remove ASBase methods from being inlined as class definitions. * Replace C char arrays in astyle_main.cpp with C++ strings. * Return language translation as a mutable variable. * Portability changes for additional compiler support (#352). * Minor changes based on results of the Clang-Tidy. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2018/02/18 04:16:59 rillig Exp $ a13 1 BUILD_DIRS= build/gcc d18 7 d26 1 a26 1 ${INSTALL_PROGRAM} ${WRKSRC}/build/gcc/bin/astyle ${DESTDIR}${PREFIX}/bin @ 1.19 log @devel/astyle: fix COMMENT and move documentation to share/doc/astyle Bumped PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2016/07/11 18:26:52 schmonz Exp $ d3 1 a3 1 DISTNAME= astyle_2.05.1_linux a4 1 PKGREVISION= 1 @ 1.18 log @Update to 2.05.1. From the changelog: - Fix incorrectly reporting files containing disabled formatting as being formatted. - Fix incorrect handling of quoted arguments in the options file (#321). - Fix error in identifying an enum return type as an enumeration (#322, 323). - Fix error in identifying an enum argument as an enumeration (#327). - Fix recognition of Qt keywords when used as variables in C++ (#329). - Fix recognition of a pointer in a C++ cast (#316). - Fix removing trailing whitespace after a changed pointer or reference cast. - Add new bracket style option "style=vtk" (#155). - Add new option "indent-preproc-block" to indent blocks of preprocessor directives (#21, #114, #229, #242, #294). - Add new option, "dry-run", to run AStyle without updating the files (#184, #285). - Add new options, "html" (-!") and "html=###", to display the HTML help documentation in the default browser. - Add tags "*INDENT-OFF*" and "*INDENT_ON*" to disable formatting of source code blocks (#2, #47, #55, #78, #110, #176). - Add tag *NOPAD* to disable selected formatting on a single line. - Add '__attribute__ ((visibility ("default")))' to Linux exported functions. - Remove option "style=ansi" and make it depreciated (#146). - Remove fix for broken 'case' statements from release 2.02.1, Nov 21, 2011. - Improve Korean translation (#256). - Change shared libraries to include the version number as part of the file name (#264) - Change "help" display to stdout to allow piping and redirection (#63). - Change "version" display to stdout. - Change headers to include foreach, forever, Q_FOREACH, and Q_FOREVER (#98, #154). - Change compiler definition ASTYLE_NO_VCX (no Visual Studio exports) to ASTYLE_NO_EXPORTS. - Change shared library error handler argument from "char*" to "const char*". - Fix not recognizing noexcept, interrupt, and autoreleasepool as pre-command headers (#225, #259). - Fix formatting of C++11 uniform initializer brackets (#253, #257, #260, #284). - Fix to not automatically space pad C++11 uniform initializer brackets (#275). - Fix formatting of enums with leading commas (#159, #179, #270). - Fix formatting of logical && operator in class initializers (#290). - Fix flagging a 'const' variable as a 'const' method (#275). - Fix piping and redirection adding an extra character to the output (#245, #252, #305). - Fix "indent-modifiers" to attach class access modifiers to Horstmann style brackets. - Fix ASFormatter to correctly recognize the end of a C++ raw string literal (#261). - Fix to recognize C++11 "enum class" as an enum (#303). - Fix indent of C++11 "noexecpt" statements within a class (#260, #304). - Fix not resetting templateDepth when a template was not found (#295). - Fix formatting of multiplication in a block paren (#144). - Fix whitespace padding when formatting an rvalue references (#297). - Fix to recognize an rvalue reference without a name (#265). - Fix to not identify an operator overload method as a calculation (#296). - Fix concatenating multiplication with a pointer dereference (#291). - Fix recognition of a pointer dereference following a question mark (#213). - Fix extra space after a trailing reference type (#300). - Fix _asm blocks not being identified as a block opener and the variable not cleared on exit (#163). - Fix indentation of line comments before a "class" opening bracket. - Fix indentation of line comments before a "namespace" opening bracket. - Fix isBracketType() method to correctly process a NULL_TYPE. - Fix unpad-paren to recognize additional variables (#43, #132, #143). - Fix indentation of C# "let" statements. - Fix a few omissions with "fill-empty-lines". - Fix file read to read 64K blocks of data. - Refactor to un-obfuscate (clarify) the code, and improve design and decomposition:: - Extract class Utf8_16 from ASConsole. - Replace Linux dependency on iconv with a Utf8_16 class for ASLibrary. - Move global "using" statements to the astyle namespace in astyle.h and ASLocalizer.h. - Move shared library declarations from astyle.h to astyle_main.h. - Move indentable macros from ASEnhancer to ASResource and create static pairs. - Simplify ASBeautifier procedure to identify the colon (:) type. - Major refactoring in ASBeautifier to create separate variables for an enum, a class statement and a class initializer. - This was needed to fix the processing of C++11 uniform initializers in a class initializer. - Minor changes to ASFormatter and ASBeautifier based on results of the Clang analyzer. - Change several methods in astyle_main to "const". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2015/03/13 17:08:14 tnn Exp $ d5 1 d11 1 a11 1 COMMENT= Free, Fast and Small Automatic Formatter for C, C++, C++/CLI, C#, and Java d18 1 a18 3 HTMLDIR= ${PREFIX}/share/doc/html/astyle INSTALLATION_DIRS= bin ${HTMLDIR} d22 1 a22 1 cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DESTDIR}${HTMLDIR} @ 1.17 log @needs libiconv @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2014/08/13 20:56:25 wiz Exp $ d3 1 a3 1 DISTNAME= astyle_2.04_linux @ 1.16 log @Update to 2.04, a version from this century. Last pkgsrc was version from 2002. Changes in 2.04: Add new programming language ObjectiveâC. Add new bracket style option "style=google" (-A14). Add new option "indent-preproc-cond" (xw) to indent preprocessor conditional statements (#118). Add new bracket modify options "attach-namespaces", "attach-classes", "attach-inlines", and "attach-extern-c". Add new option "indent-modifiers" (-xG) to indent class access modifiers one-half indent (#130). Add new option "remove-brackets" (-xj) to remove brackets from single line conditional statements. Add new option "remove-comment-prefix" (-xp) to remove the leading '*' from multi-line comments. Add new option "align-method-colon" (-xM) to align ObjectiveâC method colons. Add new option "pad-method-colon=#" (-xP#) to space pad ObjectiveâC method colons. Add new options "pad-method-prefix" (-xQ), and "unpad-method-prefix" (-xR) to pad the ObjectiveâC "-" and "+" method prefix. Add new dll entry point AStyleMainUtf16 for processing C# UTF-16 strings. Add formatting of C++11 raw string literals (#222). Add "style=knf" as an alternative to "style=linux". Remove depreciated "bracket=" options. Improve recognition and formatting of pointers and references (#174 and other changes). Improve the recognition of block-opening brackets. Improve code using a static code analyzer (#195). Change "max-code-length" to include ObjectiveâC methods. Change "indent-elseifs" and "break-blocks" to look ahead only if in command-type brackets (speed improvement). Fix linux bracket styles to break the opening bracket in inline function definitions (#185). Fix indentation of switch block comments (#164). Fix enums to indent with tabs when requested (#92, #121). Fix formatting of rvalue reference without a name in a declaration (#219). Fix "pad-first-paren-out" to not pad if the following parens are empty (#232). Fix end-of-statement reset when comments follow closing bracket. Fix the ASBeautifier active and waiting stacks to delete the ASBeautifier objects before deleting the pointers. Fix ASBeautifier "init" to delete the tempStack vectors before deleting the tempStack. Fix Linux piping problem by changing "cin" input to build a stringstream before formatting. Fix to identify the correct bracket type when 'extern "C"' is part of the enum definition. Fix to clear 'extern "C"' variables when the block is closed. Fix unindented 'extern "C"' to not indent when in a #else preprocessor directive. Fix not always correctly formatting linux type brackets for enum blocks. Fix align-pointer in a range-based for statement (#217). Fix pointer-reference argument alignment to correctly position a following comment (#235). Fix to not attach a bracket to a line ending in a backslash '\' (#186, #214, #220). Fix to recognize templates using multiple lines (#85, #87, #136). Fix formatting of template continuation lines (#85, #87, #136). Fix to allow '^' as an array operator (#233). Fix an "enum" argument being mistaken for an enumeration (#211). Fix to recognize a non-instatement array after a "},{" sequence. Fix "pad-oper" to not pad before a following comma. Fix recognition of an operator when the calculation contains a bitwise "not" '~' (#166). Fix to allow a preprocessor statement within a preprocessor define (#238). Fix preprocessor comparison to check for whole words (#246). Fix "add-brackets" when a line contains more than one paren pairs (#181). Fix to allow Mac old CR line endings in the options file (#129). Refactor to aid debugging and improve design and decomposition: Move ALL preliminary indentation calculations to computePreliminaryIndentation() in ASBeautifier. Move calculation of 'force tab' indents to preLineWS() in ASBeautifier. Combine methods init() and init(ASSourceIterator*) in ASBeautifier. Extract method adjustParsedLineIndentation() in ASBeautifier. Extract method parseCurrentLine() in ASEnhancer. Remove astyle_main.cpp unused functions getFilesUnchanged, getOptionsFileRequired, and setOptionsFileRequired. Older changes included in distfile, or available on http://astyle.sourceforge.net/notes.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2013/05/25 16:39:39 shattered Exp $ d25 1 @ 1.15 log @Update to 1.15.3. Changes: New option: '--force-indent=tab=#'. Added support for C#. Many bugfixes. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.14 2012/10/31 11:16:38 asau Exp $ # d3 2 a4 2 DISTNAME= astyle_1.15.3 PKGNAME= astyle-1.15.3 a6 1 EXTRACT_SUFX= .zip d10 7 a16 2 COMMENT= Reindenter and reformatter of C, C++, C# and Java source code LICENSE= gnu-gpl-v2 d21 3 a23 12 USE_LANGUAGES= c++ WRKSRC= ${WRKDIR} .include "../../mk/compiler.mk" .if !empty(CC_VERSION:Mgcc-2*) CFLAGS+= -DASTYLE_GCC2 .endif post-install: cd ${WRKSRC} && ${INSTALL_DATA} astyle.html \ astyle_release_notes.html license.html ${DESTDIR}${HTMLDIR} @ 1.14 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2009/08/25 11:56:34 wiz Exp $ d4 2 a5 3 DISTNAME= astyle_1.13.6.1 PKGNAME= astyle-1.13.6.1 PKGREVISION= 1 d12 2 a13 1 COMMENT= Reindenter and reformatter of C++, C and Java source code d19 1 @ 1.13 log @Change default for zip extraction to leave files as they are. Previously, zip extraction by default converted to lower case. Fix some packages that need it and remove -L from some packages that manually set it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2007/11/28 19:06:00 joerg Exp $ a14 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.12 log @Don't rename makefile to Makefile, use it directly. Add DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2006/06/06 21:38:34 joerg Exp $ a16 2 MAKE_FILE= makefile @ 1.11 log @Uses C++. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2006/03/04 21:29:12 jlam Exp $ d15 4 d20 1 a29 3 post-extract: ${MV} -f ${WRKSRC}/makefile ${WRKSRC}/Makefile a30 1 ${INSTALL_DATA_DIR} ${HTMLDIR} d32 1 a32 1 astyle_release_notes.html license.html ${HTMLDIR} @ 1.10 log @Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2006/02/05 23:08:39 joerg Exp $ d17 2 @ 1.9 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2004/06/12 02:28:46 grant Exp $ d11 1 a11 1 MAINTAINER= tech-pkg@@NetBSD.org @ 1.8 log @whitespace fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2004/02/18 13:33:40 jlam Exp $ d6 1 @ 1.7 log @Include "../../mk/compiler.mk" to get the value of CC_VERSION before testing it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2003/11/05 15:27:41 jmmv Exp $ d27 2 a28 2 cd ${WRKSRC}; ${INSTALL_DATA} astyle.html astyle_release_notes.html\ license.html ${HTMLDIR} @ 1.6 log @Fix build with gcc3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2003/07/21 16:43:15 martti Exp $ d16 1 a16 1 .include "../../mk/bsd.prefs.mk" @ 1.5 log @COMMENT should start with a capital letter. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2003/07/17 21:29:32 grant Exp $ d15 6 @ 1.4 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2003/06/02 01:20:58 jschauma Exp $ d12 1 a12 1 COMMENT= reindenter and reformatter of C++, C and Java source code @ 1.3 log @Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages. Should anybody feel like they could be the maintainer for any of thewe packages, please adjust. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2001/03/15 13:38:58 hubertf Exp $ d10 1 a10 1 MAINTAINER= tech-pkg@@netbsd.org @ 1.2 log @fix category for move @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2001/03/15 13:32:35 hubertf Exp $ d10 1 a10 1 MAINTAINER= packages@@netbsd.org @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d6 1 a6 1 CATEGORIES= textproc @ 1.1.1.1 log @Add astyle-1.13.6.1: reindenter and reformatter of C++, C and Java source code When indenting source code, we as programmers have a tendency to use both spaces and tab characters to create the wanted indentation. Moreover, some editors by default insert spaces instead of tabs when pressing the tab key, and other editors (Emacs for example) have the ability to "pretty up" lines by automatically setting up the white space before the code on the line, possibly inserting spaces in a code that up to now used only tabs for indentation. Since the NUMBER of space characters showed on screen for each tab character in the source code changes between editors (until the user sets up the number to his liking...), one of the standard problems facing programmers when moving from one source code editor to another is that code containing both spaces and tabs that was up to now perfectly indented, suddently becomes a mess to look at when changing to another editor. Even if you as a programmer take care to ONLY use spaces or tabs, looking at other peoples source code can still be problematic. To address this problem I have created Artistic Style - a series of filters, written in C++, that automatically reindent & reformat C/C++/Java source files. These can be used from a command line, or it can be incorporated as classes in another C++ program. Submitted in PR 12402 by Thomas Runge @ text @@