head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.16 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.14 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.12 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.10 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.8 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.6 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.4 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.2 pkgsrc-2024Q2-base:1.1; locks; strict; comment @# @; 1.1 date 2024.05.04.18.06.23; author schmonz; state Exp; branches; next ; commitid EA9c0qujihaC3I8F; desc @@ 1.1 log @Add aceunit: Advanced C and Embedded Unit test framework AceUnit is a comfortable unit test framework for C, in the best tradition of xUnit frameworks (like JUnit). Its target audience are developers using the C programming language to develop firmware, drivers, operating systems, and other C programs, like command line programs. It is tiny and thus suitable even for extremely resource-constrained environments. @ text @$NetBSD$ Set permissions more precisely. Install without building and running the tests. --- Makefile.orig 2024-05-04 13:27:28.000000000 +0000 +++ Makefile @@@@ -6,7 +6,7 @@@@ include recurse.mk ## clean: Remove all generated files. ## lib-all: Build and self-test the AceUnit library. -test-all examples-all install: lib-all +test-all examples-all: lib-all versions:=c90 c99 c11 c17 c2x gnu90 gnu99 gnu11 gnu17 gnu2x ## compiler-test: Test AceUnit with different versions of C. @@@@ -46,11 +46,11 @@@@ install: $(FILES_TO_INSTALL) $(DESTDIR)$(PREFIX)/bin/aceunit: bin/aceunit install -d $(dir $@@) - install $^ $@@ + ${BSD_INSTALL_SCRIPT} $^ $@@ $(DESTDIR)$(PREFIX)/%: % install -d $(dir $@@) - install -m 644 $^ $@@ + ${BSD_INSTALL_DATA} $^ $@@ $(DESTDIR)$(PREFIX)/include/aceunit.mk: include/aceunit.mk install -d $(dir $@@) @