Bug 179021 - New port: devel/xa65: xa65 high-speed, two-pass portable cross-assembler for MOS 6502 and compatible CPUs
Summary: New port: devel/xa65: xa65 high-speed, two-pass portable cross-assembler for ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-27 20:20 UTC by Uffe Jakobsen
Modified: 2013-07-31 08:50 UTC (History)
0 users

See Also:


Attachments
file.shar (3.56 KB, text/plain)
2013-05-27 20:20 UTC, Uffe Jakobsen
no flags Details
freebsd-ports-devel-xa65.shar.txt (3.67 KB, text/plain; charset=UTF-8)
2013-06-13 09:57 UTC, Uffe Jakobsen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uffe Jakobsen 2013-05-27 20:20:00 UTC
New port: devel/xa65: xa65 high-speed, two-pass portable cross-assembler for MOS 6502 and compatible CPUs

xa is a high-speed, two-pass portable cross-assembler.
It understands mnemonics and generates code for:
NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...)
CMOS 6502s (65C02 and Rockwell R65C02) and the 65816. 

WWW: http://www.floodgap.com/retrotech/xa

/Uffe

Fix: Patch attached with submission follows:
Comment 1 Uffe Jakobsen 2013-06-04 21:02:33 UTC
Hi,

Any news on this port ?

/Uffe
Comment 2 Uffe Jakobsen 2013-06-13 09:57:31 UTC
portlint corrections - new shar attached.

/Uffe
Comment 3 Uffe Jakobsen 2013-06-23 22:43:47 UTC
Hi,

Any news on this port ?

/Uffe
Comment 4 Uffe Jakobsen 2013-07-08 15:15:09 UTC
ping ?
Comment 5 Uffe Jakobsen 2013-07-29 21:52:20 UTC
If there is something wrong with this port - then please let me know - 
it has been in submit-limbo for over two months now.
Comment 6 Jason Helfman freebsd_committer freebsd_triage 2013-07-30 02:48:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 7 dfilter service freebsd_committer freebsd_triage 2013-07-31 08:45:17 UTC
Author: jgh
Date: Wed Jul 31 07:45:04 2013
New Revision: 324015
URL: http://svnweb.freebsd.org/changeset/ports/324015

Log:
  xa is a high-speed, two-pass portable cross-assembler.
  It understands mnemonics and generates code for:
  NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...)
  CMOS 6502s (65C02 and Rockwell R65C02) and the 65816.
  
  WWW: http://www.floodgap.com/retrotech/xa/
  
  PR:		ports/179021
  Submitted by:	uffe@uffe.org

Added:
  head/devel/xa65/
  head/devel/xa65/Makefile   (contents, props changed)
  head/devel/xa65/distinfo   (contents, props changed)
  head/devel/xa65/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Jul 31 07:43:53 2013	(r324014)
+++ head/devel/Makefile	Wed Jul 31 07:45:04 2013	(r324015)
@@ -4440,6 +4440,7 @@
     SUBDIR += winpdb
     SUBDIR += wizardkit
     SUBDIR += wxGlade
+    SUBDIR += xa65
     SUBDIR += xc3sprog
     SUBDIR += xdg-user-dirs
     SUBDIR += xdg-utils

Added: head/devel/xa65/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xa65/Makefile	Wed Jul 31 07:45:04 2013	(r324015)
@@ -0,0 +1,61 @@
+# Created by: Uffe Jakobsen <uffe@uffe.org>
+# $FreeBSD$
+
+PORTNAME=	xa
+PORTVERSION=	2.3.5
+CATEGORIES=	devel
+MASTER_SITES=	http://www.floodgap.com/retrotech/xa/dists/
+PKGNAMESUFFIX=	65
+
+MAINTAINER=	uffe@uffe.org
+COMMENT=	MOS-6502 two-pass cross-assembler for MOS 6502 and compatible CPUs
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+USES=	gmake
+
+MAN1=	file65.1 ldo65.1 printcbm.1 reloc65.1 uncpk.1 xa.1
+MLINKS=	xa.1 xa65.1
+
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
+PLIST_FILES=	bin/xa65 \
+		bin/file65 \
+		bin/ldo65 \
+		bin/reloc65 \
+		bin/printcbm \
+		bin/uncpk
+
+post-patch-script:
+.for i in CC LDFLAGS CFLAGS
+	@${REINPLACE_CMD} 's|${i} = |${i} ?= |g' ${WRKSRC}/Makefile
+.endfor
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/xa ${PREFIX}/bin/xa65
+.for file in file65 ldo65 reloc65 printcbm uncpk
+	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+.endfor
+
+.for man in ${MAN1}
+	${INSTALL_MAN} ${WRKSRC}/man/${man} ${MAN1PREFIX}/man/man1
+.endfor
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+.for doc in COPYING ChangeLog README.1st TODO
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>

Added: head/devel/xa65/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xa65/distinfo	Wed Jul 31 07:45:04 2013	(r324015)
@@ -0,0 +1,2 @@
+SHA256 (xa-2.3.5.tar.gz) = 9cada4128a096169e5acba66b03b5e954ce4201ebb8aefeacb7025ffc0decdd2
+SIZE (xa-2.3.5.tar.gz) = 132551

Added: head/devel/xa65/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xa65/pkg-descr	Wed Jul 31 07:45:04 2013	(r324015)
@@ -0,0 +1,6 @@
+xa is a high-speed, two-pass portable cross-assembler.
+It understands mnemonics and generates code for:
+NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...)
+CMOS 6502s (65C02 and Rockwell R65C02) and the 65816. 
+
+WWW: http://www.floodgap.com/retrotech/xa/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 8 Jason Helfman freebsd_committer freebsd_triage 2013-07-31 08:45:27 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!