svn commit: r324009 - in head/devel: . dxa65 dxa65/files
Jason Helfman
jgh at FreeBSD.org
Wed Jul 31 07:11:48 UTC 2013
Author: jgh
Date: Wed Jul 31 07:11:46 2013
New Revision: 324009
URL: http://svnweb.freebsd.org/changeset/ports/324009
Log:
dxa65 is a disassembler for MOS 6502 and compatible CPUs
NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...)
CMOS 6502s (65C02 and Rockwell R65C02)
WWW: http://www.floodgap.com/retrotech/xa#dxa
PR: ports/179030
Submitted by: uffe at uffe.org
Added:
head/devel/dxa65/
head/devel/dxa65/Makefile (contents, props changed)
head/devel/dxa65/distinfo (contents, props changed)
head/devel/dxa65/files/
head/devel/dxa65/files/patch-label.c (contents, props changed)
head/devel/dxa65/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Jul 31 06:57:22 2013 (r324008)
+++ head/devel/Makefile Wed Jul 31 07:11:46 2013 (r324009)
@@ -373,6 +373,7 @@
SUBDIR += dulwich
SUBDIR += duplo
SUBDIR += dwarfdump
+ SUBDIR += dxa65
SUBDIR += dyncall
SUBDIR += e00compr
SUBDIR += e2fsprogs-libss
Added: head/devel/dxa65/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/dxa65/Makefile Wed Jul 31 07:11:46 2013 (r324009)
@@ -0,0 +1,38 @@
+# Created by: Uffe Jakobsen <uffe at uffe.org>
+# $FreeBSD$
+
+PORTNAME= dxa
+PORTVERSION= 0.1.3
+CATEGORIES= devel
+MASTER_SITES= http://www.floodgap.com/retrotech/xa/dists/
+PKGNAMESUFFIX= 65
+
+MAINTAINER= uffe at uffe.org
+COMMENT= Disassembler for MOS 6502 and compatible CPUs
+
+OPTIONS_DEFINE= DOCS
+
+USES= gmake
+
+MAN1= dxa.1
+MLINKS= dxa.1 dxa65.1
+
+PLIST_FILES= bin/dxa65
+PORTDOCS= INSTALL
+
+.include <bsd.port.options.mk>
+
+post-patch-script:
+ @${REINPLACE_CMD} 's|CC = |CC ?= |g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} 's|CFLAGS = |CFLAGS ?= |g' ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/dxa ${PREFIX}/bin/dxa65
+ ${INSTALL_MAN} ${WRKSRC}/dxa.1 ${MAN1PREFIX}/man/man1
+
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
Added: head/devel/dxa65/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/dxa65/distinfo Wed Jul 31 07:11:46 2013 (r324009)
@@ -0,0 +1,2 @@
+SHA256 (dxa-0.1.3.tar.gz) = 1e7adb7f0306397f45ed068203d36ae6c0886c698899ba89080cbf161a31c72e
+SIZE (dxa-0.1.3.tar.gz) = 23595
Added: head/devel/dxa65/files/patch-label.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/dxa65/files/patch-label.c Wed Jul 31 07:11:46 2013 (r324009)
@@ -0,0 +1,21 @@
+--- label.c.orig 2006-11-01 18:23:28.000000000 +0200
++++ label.c 2010-08-31 21:45:43.000000000 +0300
+@@ -40,7 +40,7 @@
+ #include "opcodes.h"
+
+ label *labeltable;
+-char defaultlabel[5];
++char defaultlabel[6];
+ unsigned numLabels = 0;
+
+ #ifndef __STDC__
+@@ -55,7 +55,7 @@
+ label *entry;
+ char *buffer;
+
+- if (!((buffer = malloc (strlen (name)))))
++ if (!((buffer = malloc (strlen (name) + 1))))
+ return;
+
+ entry = numLabels ?
+
Added: head/devel/dxa65/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/dxa65/pkg-descr Wed Jul 31 07:11:46 2013 (r324009)
@@ -0,0 +1,5 @@
+dxa65 is a disassembler for MOS 6502 and compatible CPUs
+NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...)
+CMOS 6502s (65C02 and Rockwell R65C02)
+
+WWW: http://www.floodgap.com/retrotech/xa#dxa
More information about the svn-ports-head
mailing list