Add a package for lwtools, a set of cross-development tools for the otorola 6809 Hitachi 6309.diff -r1.102 -r1.103 pkgsrc/cross/Makefile
(thorpej)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.102 2022/04/14 00:53:43 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.103 2022/07/18 03:43:05 thorpej Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | COMMENT= Cross-platform development utilities | 4 | COMMENT= Cross-platform development utilities | |
5 | 5 | |||
6 | SUBDIR+= GenFw | 6 | SUBDIR+= GenFw | |
7 | SUBDIR+= aarch64-none-elf-binutils | 7 | SUBDIR+= aarch64-none-elf-binutils | |
8 | SUBDIR+= aarch64-none-elf-gcc | 8 | SUBDIR+= aarch64-none-elf-gcc | |
9 | SUBDIR+= arm-none-eabi-binutils | 9 | SUBDIR+= arm-none-eabi-binutils | |
10 | SUBDIR+= arm-none-eabi-gcc | 10 | SUBDIR+= arm-none-eabi-gcc | |
11 | SUBDIR+= arm-none-eabi-gdb | 11 | SUBDIR+= arm-none-eabi-gdb | |
12 | SUBDIR+= asm6809 | 12 | SUBDIR+= asm6809 | |
13 | SUBDIR+= atasm | 13 | SUBDIR+= atasm | |
14 | SUBDIR+= avr-binutils | 14 | SUBDIR+= avr-binutils | |
@@ -27,26 +27,27 @@ SUBDIR+= dasm | @@ -27,26 +27,27 @@ SUBDIR+= dasm | |||
27 | SUBDIR+= dfu-programmer | 27 | SUBDIR+= dfu-programmer | |
28 | SUBDIR+= freemint-binutils | 28 | SUBDIR+= freemint-binutils | |
29 | SUBDIR+= freemint-cflib | 29 | SUBDIR+= freemint-cflib | |
30 | SUBDIR+= freemint-gcc | 30 | SUBDIR+= freemint-gcc | |
31 | SUBDIR+= freemint-gemlib | 31 | SUBDIR+= freemint-gemlib | |
32 | SUBDIR+= freemint-ldg | 32 | SUBDIR+= freemint-ldg | |
33 | SUBDIR+= freemint-mintbin | 33 | SUBDIR+= freemint-mintbin | |
34 | SUBDIR+= freemint-mintlib | 34 | SUBDIR+= freemint-mintlib | |
35 | SUBDIR+= freemint-pml | 35 | SUBDIR+= freemint-pml | |
36 | SUBDIR+= gcc-mips-current | 36 | SUBDIR+= gcc-mips-current | |
37 | SUBDIR+= h8300-elf-binutils | 37 | SUBDIR+= h8300-elf-binutils | |
38 | SUBDIR+= h8300-elf-gcc | 38 | SUBDIR+= h8300-elf-gcc | |
39 | SUBDIR+= icdprog | 39 | SUBDIR+= icdprog | |
40 | SUBDIR+= lwtools | |||
40 | SUBDIR+= mingw | 41 | SUBDIR+= mingw | |
41 | SUBDIR+= mingw-binutils | 42 | SUBDIR+= mingw-binutils | |
42 | SUBDIR+= mingw-gcc | 43 | SUBDIR+= mingw-gcc | |
43 | SUBDIR+= mingw-runtime-bin | 44 | SUBDIR+= mingw-runtime-bin | |
44 | SUBDIR+= mingw-w32api-bin | 45 | SUBDIR+= mingw-w32api-bin | |
45 | SUBDIR+= mingw-w64 | 46 | SUBDIR+= mingw-w64 | |
46 | SUBDIR+= mingw-w64-i686-binutils | 47 | SUBDIR+= mingw-w64-i686-binutils | |
47 | SUBDIR+= mingw-w64-i686-crt | 48 | SUBDIR+= mingw-w64-i686-crt | |
48 | SUBDIR+= mingw-w64-i686-gcc | 49 | SUBDIR+= mingw-w64-i686-gcc | |
49 | SUBDIR+= mingw-w64-i686-gcc-bootstrap | 50 | SUBDIR+= mingw-w64-i686-gcc-bootstrap | |
50 | SUBDIR+= mingw-w64-i686-gcc-winpthreads | 51 | SUBDIR+= mingw-w64-i686-gcc-winpthreads | |
51 | SUBDIR+= mingw-w64-i686-headers | 52 | SUBDIR+= mingw-w64-i686-headers | |
52 | SUBDIR+= mingw-w64-i686-winpthreads | 53 | SUBDIR+= mingw-w64-i686-winpthreads |
LWTOOLS is a set of cross-development tools for the Motorola 6809 and
Hitachi 6309 microprocessors. It supports assembling to raw binaries,
CoCo LOADM binaries, and a proprietary object file format for later
linking. It also supports macros and file inclusion among other things.
# $NetBSD: Makefile,v 1.1 2022/07/18 03:43:05 thorpej Exp $
DISTNAME= lwtools-4.19
CATEGORIES= cross
MASTER_SITES= http://www.lwtools.ca/releases/lwtools/
MAINTAINER= thorpej@NetBSD.org
HOMEPAGE= http://www.lwtools.ca/
COMMENT= Cross-development tools for the Motorola 6809 Hitachi 6309
LICENSE= gnu-gpl-v3
USE_TOOLS+= gmake
INSTALLATION_DIRS= share/doc/lwtools
post-install:
${INSTALL_DATA} ${WRKSRC}/docs/manual/* \
${DESTDIR}${PREFIX}/share/doc/lwtools
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2022/07/18 03:43:05 thorpej Exp $
bin/lwar
bin/lwasm
bin/lwcc
bin/lwcc-cc
bin/lwcc-cpp
bin/lwlink
bin/lwobjdump
lib/lwcc/bin/lwcc-cc
lib/lwcc/bin/lwcc-cpp
share/doc/lwtools/c1023.html
share/doc/lwtools/c1085.html
share/doc/lwtools/c13.html
share/doc/lwtools/c21.html
share/doc/lwtools/c62.html
share/doc/lwtools/c828.html
share/doc/lwtools/index.html
share/doc/lwtools/manual.html
share/doc/lwtools/manual.pdf
share/doc/lwtools/x1008.html
share/doc/lwtools/x229.html
share/doc/lwtools/x238.html
share/doc/lwtools/x248.html
share/doc/lwtools/x253.html
share/doc/lwtools/x261.html
share/doc/lwtools/x27.html
share/doc/lwtools/x32.html
share/doc/lwtools/x36.html
share/doc/lwtools/x41.html
share/doc/lwtools/x46.html
share/doc/lwtools/x54.html
share/doc/lwtools/x562.html
share/doc/lwtools/x585.html
share/doc/lwtools/x606.html
share/doc/lwtools/x670.html
share/doc/lwtools/x817.html
share/doc/lwtools/x822.html
share/doc/lwtools/x928.html
share/doc/lwtools/x942.html
$NetBSD: distinfo,v 1.1 2022/07/18 03:43:05 thorpej Exp $
BLAKE2s (lwtools-4.19.tar.gz) = 3b474babce2a1895c9bf5535aa9ce55fcaed0b0c52ccfaf4d24657c6fa0c0270
SHA512 (lwtools-4.19.tar.gz) = 9bb09a018969ddf70eee8fe7f3572798718bc9eee4cdd74c252ffadb741282e5822fab0a7595f2e568566086293c4ca70c84855c2d3796f4458bacdfcd187b68
Size (lwtools-4.19.tar.gz) = 657929 bytes
SHA1 (patch-Makefile) = 8b6f3c5c46477e838292ede677dfc57be58781a3
$NetBSD: patch-Makefile,v 1.1 2022/07/18 03:43:05 thorpej Exp $
Use portable arguments to fmt(1).
--- Makefile.orig 2022-07-18 02:08:23.184399250 +0000
+++ Makefile 2022-07-18 02:08:43.187883530 +0000
@@ -179,7 +179,7 @@ extra_clean := $(extra_clean) *~ */*~
@$(CC) -MM $(CPPFLAGS) -o $*.d $<
@mv -f $*.d $*.d.tmp
@sed -e 's|.*:|$*.o $*.d:|' < $*.d.tmp > $*.d
- @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
+ @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -w 1 -g 0 | sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
@rm -f $*.d.tmp
@echo Building $@
@$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<