pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lcdis: Import lcdis-1.04 as devel/lcdis
Module Name: pkgsrc-wip
Committed By: Travis Paul <tr%vispaul.me@localhost>
Pushed By: tpaul
Date: Wed Jan 3 08:23:09 2018 +0000
Changeset: cbd76f531f7580f7d56c1932e1ae95d537d5fa5a
Modified Files:
Makefile
Added Files:
lcdis/DESCR
lcdis/Makefile
lcdis/PLIST
lcdis/distinfo
lcdis/patches/patch-LCDIS.C
lcdis/patches/patch-LCDIS.H
Log Message:
lcdis: Import lcdis-1.04 as devel/lcdis
LC86104C/108C disassembler for the Sega VMU/VMS
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cbd76f531f7580f7d56c1932e1ae95d537d5fa5a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
lcdis/DESCR | 12 ++++++++++++
lcdis/Makefile | 22 ++++++++++++++++++++++
lcdis/PLIST | 2 ++
lcdis/distinfo | 8 ++++++++
lcdis/patches/patch-LCDIS.C | 15 +++++++++++++++
lcdis/patches/patch-LCDIS.H | 24 ++++++++++++++++++++++++
7 files changed, 84 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 31c7f4fa57..405d912a5c 100644
--- a/Makefile
+++ b/Makefile
@@ -1607,6 +1607,7 @@ SUBDIR+= lastfm-sharp
SUBDIR+= lat
SUBDIR+= lbt
SUBDIR+= lcalc
+SUBDIR+= lcdis
SUBDIR+= lcdproc
SUBDIR+= lci
SUBDIR+= lcov-git
diff --git a/lcdis/DESCR b/lcdis/DESCR
new file mode 100644
index 0000000000..0a37339650
--- /dev/null
+++ b/lcdis/DESCR
@@ -0,0 +1,12 @@
+LCDIS - LC86104C/108C disassembler for the Sega VMU/VMS
+
+Features:
+ - Sanyo LC86104C/108C disassembler, plus extra instructions used by the VMU
+ - Automatic determination of code/data space.
+ - Automatic determination of RAM banks accessed (mostly)
+ - Special function registers and BIOS entry points are annotated.
+ - Some instructions are commented (i.e. branch if 'A' button pressed)
+ - Disassembly output has been tested and found accurate.
+ - Either easier-to-read or ready-to-assemble code can be generated.
+ - User specification of graphic & font areas (which are commented graphically)
+ - Portable GPL C code. (with C++ style comments).
diff --git a/lcdis/Makefile b/lcdis/Makefile
new file mode 100644
index 0000000000..2f61b69cc9
--- /dev/null
+++ b/lcdis/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+PKGNAME= lcdis-1.04
+DISTNAME= LCDISSRC
+CATEGORIES= devel
+MASTER_SITES= https://travispaul.me/distfiles/
+EXTRACT_SUFX= .ZIP
+
+MAINTAINER= tr%vispaul.me@localhost
+HOMEPAGE= https://web.archive.org/web/20110927100411/http://www.maushammer.com/vmu.html
+COMMENT= Disassembler for the Sega VMU/VMS
+LICENSE= gnu-gpl-v2
+WRKSRC= ${WRKDIR}
+INSTALLATION_DIRS= bin
+
+do-build:
+ ${CC} ${CFLAGS} -o ${WRKSRC}/lcdis ${WRKSRC}/LCDIS.C
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/lcdis ${DESTDIR}${PREFIX}/bin/lcdis
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lcdis/PLIST b/lcdis/PLIST
new file mode 100644
index 0000000000..6ce58b00e2
--- /dev/null
+++ b/lcdis/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/lcdis
diff --git a/lcdis/distinfo b/lcdis/distinfo
new file mode 100644
index 0000000000..373d3d4ca6
--- /dev/null
+++ b/lcdis/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (LCDISSRC.ZIP) = a41451c8a042cacdf6d246bc82835aa7c44ce461
+RMD160 (LCDISSRC.ZIP) = 53c01fa4419d1c156a96b572302c5bd16f1c66d8
+SHA512 (LCDISSRC.ZIP) = 7e728a8e8692bc5c4cdd7c44dc905e16bda8b1d39c65074c1dd55785ef320661a4c7e7f7b6fc598a27d0fbf38fe2a6b9e6d0529a9e32ebe36312d9c0ba46d2ea
+Size (LCDISSRC.ZIP) = 30715 bytes
+SHA1 (patch-LCDIS.C) = d23660be6dff69e02527277d11c89722a00085b6
+SHA1 (patch-LCDIS.H) = 1bd644dd86c971035e419f0a6412e8527f1817f2
diff --git a/lcdis/patches/patch-LCDIS.C b/lcdis/patches/patch-LCDIS.C
new file mode 100644
index 0000000000..24b45bd394
--- /dev/null
+++ b/lcdis/patches/patch-LCDIS.C
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Don't assume a case-insensitive filesystem.
+
+--- LCDIS.C.orig 2000-07-02 19:45:58.000000000 +0000
++++ LCDIS.C
+@@ -102,7 +102,7 @@
+ #include <string.h>
+ #include <memory.h>
+ #include <ctype.h>
+-#include "lcdis.h"
++#include "LCDIS.H"
+
+ // This define needed for SUN environments:
+ #if (defined (sparc) || defined (__sparc__) || defined (__sparc))
diff --git a/lcdis/patches/patch-LCDIS.H b/lcdis/patches/patch-LCDIS.H
new file mode 100644
index 0000000000..b7cb80691d
--- /dev/null
+++ b/lcdis/patches/patch-LCDIS.H
@@ -0,0 +1,24 @@
+$NetBSD$
+
+No stricmp/strnicmp on NetBSD (and most other OSes),
+define as strcasecmp/strncasecmp instead.
+
+--- LCDIS.H.orig 2000-07-02 19:43:34.000000000 +0000
++++ LCDIS.H
+@@ -17,7 +17,8 @@ void print_code_label (int addr, int for
+ int checkmem(void);
+ void search_text (int memsize);
+
+-
++#define stricmp(x,y) strcasecmp(x,y)
++#define strnicmp(x,y,z) strncasecmp(x,y,z)
+
+ //---0---- ---1---- --2,3--- --4-7--- --8-F---
+
+@@ -391,4 +392,4 @@ firmwarecall_type FIRMWARECALL[] =
+ // not included mapmem (0x108); // unknown
+ // mapmem (0x140); // unknown
+ { -1, -1} // end of list
+- };
+\ No newline at end of file
++ };
Home |
Main Index |
Thread Index |
Old Index