Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2008 15:27:57 +0100 (CET)
From:      Emmanuel Vadot <elbarto@arcadebsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/128436: New ports devel/asmx multi-cpu assembler
Message-ID:  <20081028142757.A23D133F3D@mail.arcadebsd.org>
Resent-Message-ID: <200810281450.m9SEo2gh027838@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128436
>Category:       ports
>Synopsis:       New ports devel/asmx multi-cpu assembler
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 28 14:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     El Barto
>Release:        FreeBSD 7.0-RELEASE-p5 amd64
>Organization:
ArcadeBSD
>Environment:
System: FreeBSD jamma 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #1: Mon Oct 27 10:04:26 CET 2008 root@jamma:/usr/obj/usr/src/sys/jamma amd64


>Description:
	asmx is a multi-cpu assembler for 8 and 16 bits processor.
	It's mainly use in the console-homebrew community.
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	asmx
#	asmx/pkg-descr
#	asmx/distinfo
#	asmx/Makefile
#	asmx/files
#	asmx/files/Makefile
#	asmx/files/patch-asmguts.h
#
echo c - asmx
mkdir -p asmx > /dev/null 2>&1
echo x - asmx/pkg-descr
sed 's/^X//' >asmx/pkg-descr << 'END-of-asmx/pkg-descr'
XThis is a multi-CPU macro assembler for many major 8-bit and 16-bit CPUs
Xwhich can assemble code for multiple CPUs in the same source file.
END-of-asmx/pkg-descr
echo x - asmx/distinfo
sed 's/^X//' >asmx/distinfo << 'END-of-asmx/distinfo'
XMD5 (asmx-1.8.2.zip) = 6aa68350e362596d171451da7f262025
XSHA256 (asmx-1.8.2.zip) = 16bc2fb7580664d76d0b6ed7cefc46cc406c059f4667fac4c62e3a976e57222b
XSIZE (asmx-1.8.2.zip) = 106964
END-of-asmx/distinfo
echo x - asmx/Makefile
sed 's/^X//' >asmx/Makefile << 'END-of-asmx/Makefile'
X# New ports collection makefile for:   asmx
X# Date created:        28 October 2008
X# Whom:                elbarto
X#
X# $FreeBSD$
X#
X
XPORTNAME=	asmx
XPORTVERSION=	1.8.2
XCATEGORIES=	devel
XMASTER_SITES=	http://xi6.com/files/ \
X		http://distfiles.arcadebsd.org/
X
XMAINTAINER=	elbarto@ArcadeBSD.org
XCOMMENT=	Multi-CPU macro assembler for many major 8-bit and 16-bit CPUs
X
XWRKSRC=		${WRKDIR}
XUSE_ZIP=	yes
XALL_TARGET=
X
XOPTIONS=	1802 "RCA 1802" On \
X		6502 "MOS Technology 6502, 65C02 and 6502" On \
X		6809 "Motorola 6809" On \
X		68HC11 "Motorola 6800/6801/68HC11 and Hitachi 6303" On \
X		68HC16 "Motorola 68HC16" On \
X		68000 "Motorola 68000/68010" On \
X		8051 "Intel 8051" On \
X		8085 "Intel 8080 and 8085" On \
X		F8 "Fairchild F8" On \
X		Z80 "Zilog Z-80 and Nintendo Gameboy Z-80 variant" On
X
X.include <bsd.port.pre.mk>
X
XPLIST_FILES=	%%DOCSDIR%%/README.txt
XPLIST_DIRS=	%%DOCSDIR%%
X
X.if defined(WITH_1802)
XALL_TARGET+=	asmx-1802
XPLIST_FILES+=	bin/asmx-1802
X.endif
X
X.if defined(WITH_6502)
XALL_TARGET+=	asmx-6502
XPLIST_FILES+=	bin/asmx-6502
X.endif
X
X.if defined(WITH_6809)
XALL_TARGET+=	asmx-6809
XPLIST_FILES+=	bin/asmx-6809
X.endif
X
X.if defined(WITH_68HC11)
XALL_TARGET+=	asmx-68hc11
XPLIST_FILES+=	bin/asmx-68hc11
X.endif
X
X.if defined(WITH_68HC16)
XALL_TARGET+=	asmx-68hc16
XPLIST_FILES+=	bin/asmx-68hc16
X.endif
X
X.if defined(WITH_68000)
XALL_TARGET+=	asmx-68k
XPLIST_FILES+=	bin/asmx-68k
X.endif
X
X.if defined(WITH_8051)
XALL_TARGET+=	asmx-8051
XPLIST_FILES+=	bin/asmx-8051
X.endif
X
X.if defined(WITH_8085)
XALL_TARGET+=	asmx-8085
XPLIST_FILES+=	bin/asmx-8085
X.endif
X
X.if defined(WITH_F8)
XALL_TARGET+=	asmx-f8
XPLIST_FILES+=	bin/asmx-f8
X.endif
X
X.if defined(WITH_Z80)
XALL_TARGET+=	asmx-z80
XPLIST_FILES+=	bin/asmx-z80
X.endif
X
Xpost-extract:
X	${CP} ${FILESDIR}/Makefile ${WRKSRC}
X
Xpost-configure:
X	${ECHO_CMD} ALL_TARGET=${ALL_TARGET}
X
Xdo-install:
X.for f in ${ALL_TARGET}
X	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin/
X.endfor
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-asmx/Makefile
echo c - asmx/files
mkdir -p asmx/files > /dev/null 2>&1
echo x - asmx/files/Makefile
sed 's/^X//' >asmx/files/Makefile << 'END-of-asmx/files/Makefile'
Xall:
X	@echo "You have to select an options"
X
Xasmx-1802:
X	${CC} asm1802.c -o asmx-1802
X
Xasmx-6502:
X	${CC} asm6502.c -o asmx-6502
X
Xasmx-6809:
X	${CC} asm6809.c -o asmx-6809
X
Xasmx-68hc11:
X	${CC} asm68hc11.c -o asmx-68hc11
X
Xasmx-68hc16:
X	${CC} asm68hc16.c -o asmx-68hc16
X
Xasmx-68k:
X	${CC} asm68k.c -o asmx-68k
X
Xasmx-8051:
X	${CC} asm8051.c -o asmx-8051
X
Xasmx-8085:
X	${CC} asm8085.c -o asmx-8085
X
Xasmx-f8:
X	${CC} asmf8.c -o asmx-f8
X
Xasmx-z80:
X	${CC} asmz80.c -o asmx-z80
END-of-asmx/files/Makefile
echo x - asmx/files/patch-asmguts.h
sed 's/^X//' >asmx/files/patch-asmguts.h << 'END-of-asmx/files/patch-asmguts.h'
X--- asmguts.h.orig	2008-10-28 14:27:09.000000000 +0100
X+++ asmguts.h	2008-10-28 14:27:21.000000000 +0100
X@@ -4722,4 +4722,4 @@
X         fclose(object);
X 
X     return (errCount != 0);
X-}
X\ No newline at end of file
X+}
END-of-asmx/files/patch-asmguts.h
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081028142757.A23D133F3D>