pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross Add a package for lwtools, a set of cross-develo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/455e9bc4fca4
branches:  trunk
changeset: 382007:455e9bc4fca4
user:      thorpej <thorpej%pkgsrc.org@localhost>
date:      Mon Jul 18 03:43:05 2022 +0000

description:
Add a package for lwtools, a set of cross-development tools for the
otorola 6809 Hitachi 6309.

diffstat:

 cross/Makefile                       |   3 +-
 cross/lwtools/DESCR                  |   4 +++
 cross/lwtools/Makefile               |  20 ++++++++++++++++++
 cross/lwtools/PLIST                  |  39 ++++++++++++++++++++++++++++++++++++
 cross/lwtools/distinfo               |   6 +++++
 cross/lwtools/patches/patch-Makefile |  15 +++++++++++++
 6 files changed, 86 insertions(+), 1 deletions(-)

diffs (121 lines):

diff -r cd4bf73cd533 -r 455e9bc4fca4 cross/Makefile
--- a/cross/Makefile    Sun Jul 17 21:23:42 2022 +0000
+++ b/cross/Makefile    Mon Jul 18 03:43:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.102 2022/04/14 00:53:43 tnn Exp $
+# $NetBSD: Makefile,v 1.103 2022/07/18 03:43:05 thorpej Exp $
 #
 
 COMMENT=       Cross-platform development utilities
@@ -37,6 +37,7 @@
 SUBDIR+=       h8300-elf-binutils
 SUBDIR+=       h8300-elf-gcc
 SUBDIR+=       icdprog
+SUBDIR+=       lwtools
 SUBDIR+=       mingw
 SUBDIR+=       mingw-binutils
 SUBDIR+=       mingw-gcc
diff -r cd4bf73cd533 -r 455e9bc4fca4 cross/lwtools/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/lwtools/DESCR       Mon Jul 18 03:43:05 2022 +0000
@@ -0,0 +1,4 @@
+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.
diff -r cd4bf73cd533 -r 455e9bc4fca4 cross/lwtools/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/lwtools/Makefile    Mon Jul 18 03:43:05 2022 +0000
@@ -0,0 +1,20 @@
+# $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@localhost
+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"
diff -r cd4bf73cd533 -r 455e9bc4fca4 cross/lwtools/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/lwtools/PLIST       Mon Jul 18 03:43:05 2022 +0000
@@ -0,0 +1,39 @@
+@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
diff -r cd4bf73cd533 -r 455e9bc4fca4 cross/lwtools/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/lwtools/distinfo    Mon Jul 18 03:43:05 2022 +0000
@@ -0,0 +1,6 @@
+$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
diff -r cd4bf73cd533 -r 455e9bc4fca4 cross/lwtools/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/lwtools/patches/patch-Makefile      Mon Jul 18 03:43:05 2022 +0000
@@ -0,0 +1,15 @@
+$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 $<



Home | Main Index | Thread Index | Old Index