Mon Jul 18 03:43:05 2022 UTC ()
Add a package for lwtools, a set of cross-development tools for the
otorola 6809 Hitachi 6309.


(thorpej)
diff -r1.102 -r1.103 pkgsrc/cross/Makefile
diff -r0 -r1.1 pkgsrc/cross/lwtools/DESCR
diff -r0 -r1.1 pkgsrc/cross/lwtools/Makefile
diff -r0 -r1.1 pkgsrc/cross/lwtools/PLIST
diff -r0 -r1.1 pkgsrc/cross/lwtools/distinfo
diff -r0 -r1.1 pkgsrc/cross/lwtools/patches/patch-Makefile

cvs diff -r1.102 -r1.103 pkgsrc/cross/Makefile (expand / switch to unified diff)

--- pkgsrc/cross/Makefile 2022/04/14 00:53:43 1.102
+++ pkgsrc/cross/Makefile 2022/07/18 03:43:05 1.103
@@ -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
4COMMENT= Cross-platform development utilities 4COMMENT= Cross-platform development utilities
5 5
6SUBDIR+= GenFw 6SUBDIR+= GenFw
7SUBDIR+= aarch64-none-elf-binutils 7SUBDIR+= aarch64-none-elf-binutils
8SUBDIR+= aarch64-none-elf-gcc 8SUBDIR+= aarch64-none-elf-gcc
9SUBDIR+= arm-none-eabi-binutils 9SUBDIR+= arm-none-eabi-binutils
10SUBDIR+= arm-none-eabi-gcc 10SUBDIR+= arm-none-eabi-gcc
11SUBDIR+= arm-none-eabi-gdb 11SUBDIR+= arm-none-eabi-gdb
12SUBDIR+= asm6809 12SUBDIR+= asm6809
13SUBDIR+= atasm 13SUBDIR+= atasm
14SUBDIR+= avr-binutils 14SUBDIR+= avr-binutils
@@ -27,26 +27,27 @@ SUBDIR+= dasm @@ -27,26 +27,27 @@ SUBDIR+= dasm
27SUBDIR+= dfu-programmer 27SUBDIR+= dfu-programmer
28SUBDIR+= freemint-binutils 28SUBDIR+= freemint-binutils
29SUBDIR+= freemint-cflib 29SUBDIR+= freemint-cflib
30SUBDIR+= freemint-gcc 30SUBDIR+= freemint-gcc
31SUBDIR+= freemint-gemlib 31SUBDIR+= freemint-gemlib
32SUBDIR+= freemint-ldg 32SUBDIR+= freemint-ldg
33SUBDIR+= freemint-mintbin 33SUBDIR+= freemint-mintbin
34SUBDIR+= freemint-mintlib 34SUBDIR+= freemint-mintlib
35SUBDIR+= freemint-pml 35SUBDIR+= freemint-pml
36SUBDIR+= gcc-mips-current 36SUBDIR+= gcc-mips-current
37SUBDIR+= h8300-elf-binutils 37SUBDIR+= h8300-elf-binutils
38SUBDIR+= h8300-elf-gcc 38SUBDIR+= h8300-elf-gcc
39SUBDIR+= icdprog 39SUBDIR+= icdprog
 40SUBDIR+= lwtools
40SUBDIR+= mingw 41SUBDIR+= mingw
41SUBDIR+= mingw-binutils 42SUBDIR+= mingw-binutils
42SUBDIR+= mingw-gcc 43SUBDIR+= mingw-gcc
43SUBDIR+= mingw-runtime-bin 44SUBDIR+= mingw-runtime-bin
44SUBDIR+= mingw-w32api-bin 45SUBDIR+= mingw-w32api-bin
45SUBDIR+= mingw-w64 46SUBDIR+= mingw-w64
46SUBDIR+= mingw-w64-i686-binutils 47SUBDIR+= mingw-w64-i686-binutils
47SUBDIR+= mingw-w64-i686-crt 48SUBDIR+= mingw-w64-i686-crt
48SUBDIR+= mingw-w64-i686-gcc 49SUBDIR+= mingw-w64-i686-gcc
49SUBDIR+= mingw-w64-i686-gcc-bootstrap 50SUBDIR+= mingw-w64-i686-gcc-bootstrap
50SUBDIR+= mingw-w64-i686-gcc-winpthreads 51SUBDIR+= mingw-w64-i686-gcc-winpthreads
51SUBDIR+= mingw-w64-i686-headers 52SUBDIR+= mingw-w64-i686-headers
52SUBDIR+= mingw-w64-i686-winpthreads 53SUBDIR+= mingw-w64-i686-winpthreads

File Added: pkgsrc/cross/lwtools/DESCR
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.

File Added: pkgsrc/cross/lwtools/Makefile
# $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"

File Added: pkgsrc/cross/lwtools/PLIST
@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

File Added: pkgsrc/cross/lwtools/distinfo
$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

File Added: pkgsrc/cross/lwtools/patches/patch-Makefile
$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 $<