pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lwtools: Add lwtools 4.18 - Dev tools for M6809 and H6309 CPUs.
Module Name: pkgsrc-wip
Committed By: Paul Ripke <stix%stix.id.au@localhost>
Pushed By: stix
Date: Fri Jan 14 11:38:21 2022 +1100
Changeset: 278384e6593b458214831ac5a439cd4deeb4bf10
Modified Files:
Makefile
Added Files:
lwtools/DESCR
lwtools/Makefile
lwtools/PLIST
lwtools/distinfo
lwtools/patches/patch-Makefile
Log Message:
lwtools: Add lwtools 4.18 - Dev tools for M6809 and H6309 CPUs.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=278384e6593b458214831ac5a439cd4deeb4bf10
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
lwtools/DESCR | 4 ++++
lwtools/Makefile | 15 +++++++++++++++
lwtools/PLIST | 12 ++++++++++++
lwtools/distinfo | 6 ++++++
lwtools/patches/patch-Makefile | 15 +++++++++++++++
6 files changed, 53 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index ed0c9da4e0..ea100a5899 100644
--- a/Makefile
+++ b/Makefile
@@ -2302,6 +2302,7 @@ SUBDIR+= lumina-desktop
SUBDIR+= luv
SUBDIR+= lvm2
SUBDIR+= lwc
+SUBDIR+= lwtools
SUBDIR+= lxdm
SUBDIR+= lxmusic
SUBDIR+= lzlib
diff --git a/lwtools/DESCR b/lwtools/DESCR
new file mode 100644
index 0000000000..ccc227b3ce
--- /dev/null
+++ b/lwtools/DESCR
@@ -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 --git a/lwtools/Makefile b/lwtools/Makefile
new file mode 100644
index 0000000000..46b45e5c77
--- /dev/null
+++ b/lwtools/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+DISTNAME= lwtools-4.18
+CATEGORIES= devel
+MASTER_SITES= http://www.lwtools.ca/releases/lwtools/
+
+MAINTAINER= stix%stix.id.au@localhost
+HOMEPAGE= http://www.lwtools.ca/
+COMMENT= Cross-development tools for the M6809 and H6309 microprocessors
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= c
+USE_TOOLS= gmake
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lwtools/PLIST b/lwtools/PLIST
new file mode 100644
index 0000000000..60937feffb
--- /dev/null
+++ b/lwtools/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+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
+@pkgdir lib/lwcc/lib
+@pkgdir lib/lwcc/include
diff --git a/lwtools/distinfo b/lwtools/distinfo
new file mode 100644
index 0000000000..78b6ffaa1c
--- /dev/null
+++ b/lwtools/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (lwtools-4.18.tar.gz) = d62b249b181c61caa5d25b9a3c4cb2667d2a49529a1d918f966abb973ebdb059
+SHA512 (lwtools-4.18.tar.gz) = 21f12555ac5fb5742dd109c19dbb8abeca3da4c95b9ad7b1ff462d2fea38a90dcd006bf0ec50bd704522d5e7ee11925da78f48c93b798d461814ae65feb0eecd
+Size (lwtools-4.18.tar.gz) = 689158 bytes
+SHA1 (patch-Makefile) = 79a1c1c92f3765984b0c08ebaea499118d223728
diff --git a/lwtools/patches/patch-Makefile b/lwtools/patches/patch-Makefile
new file mode 100644
index 0000000000..fcbbb754aa
--- /dev/null
+++ b/lwtools/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Substitute apparent linux usage of "fmt" with "tr".
+
+--- Makefile.orig 2021-01-20 02:08:37.000000000 +0000
++++ Makefile
+@@ -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 | tr " " "\n" | sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
+ @rm -f $*.d.tmp
+ @echo Building $@
+ @$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
Home |
Main Index |
Thread Index |
Old Index