Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 20:16:19 +0600 (NOVT)
From:      Alexey Dokuchaev <danfe@regency.nsu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48243: NEW PORT: devel/tpasm, a cross-assembler for 6805, 6809, 68HC11, 6502, Sunplus, 8051, Z80, PIC, and AVR
Message-ID:  <200302131416.h1DEGJQg035374@regency.nsu.ru>

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

>Number:         48243
>Category:       ports
>Synopsis:       NEW PORT: devel/tpasm, a cross-assembler for 6805, 6809, 68HC11, 6502, Sunplus, 8051, Z80, PIC, and AVR
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 13 06:20:04 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Dokuchaev
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
CNIT NSU
>Environment:
System: FreeBSD regency.nsu.ru 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Dec 5 19:45:35 NOVT 2002 root@regency.nsu.ru:/usr/src/sys/compile/REGENCY i386
>Description:
This is a port of nice and feature-rich cross-assembler for for a
variety of common microprocessors and controllers, currently
supporting:

Rockwell 6502 (6502, 65c02)
Motorola 6805 (6805, 68705), 6809, 68HC11
Intel 8051 (8031, 8032, 8051, 8052, 80c390)
Atmel AVR (avt, attiny, at90, atmega series)
Core Technologies CTXP-1
Microchip PIC (12xxx, 14xxx, 16xxx, 17xxx series)
Sunplus SPCxxx series
Zilog Z80 (z80, z180)

Features are:

    * True multi-pass assembly (will take as many passes as needed)
    * Multiple segments
    * Sophisticated expressions
    * Macros, repeats, conditionals
    * Arbitrary length labels
    * Local labels
    * Supporting new processors is reasonably straightforward
    * Can switch between processors during assembly

>How-To-Repeat:
N/A
>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:
#
#	.
#	./Makefile
#	./pkg-plist
#	./pkg-descr
#	./pkg-comment
#	./distinfo
#	./files
#	./files/patch-Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	tpasm
X# Date created:				13 Feb 2003
X# Whom:					Alexey Dokuchaev <danfe@regency.nsu.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tpasm
XPORTVERSION=	1.1
XCATEGORIES=	devel
XMASTER_SITES=	ftp://ftp.ct0.com/pub/
XDISTNAME=	${PORTNAME}${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	danfe@regency.nsu.ru
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XUSE_GMAKE=	yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X	@${MKDIR} ${PREFIX}/libdata/${PORTNAME}
X.for file in 8051 80c390 p16c505 picmacros
X	${INSTALL_DATA} ${WRKSRC}/include/${file}.inc ${PREFIX}/libdata/${PORTNAME}
X.endfor
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/MANUAL.TXT ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xbin/tpasm
Xlibdata/tpasm/8051.inc
Xlibdata/tpasm/80c390.inc
Xlibdata/tpasm/p16c505.inc
Xlibdata/tpasm/picmacros.inc
X@dirrm libdata/tpasm
X%%PORTDOCS%%share/doc/tpasm/MANUAL.TXT
X%%PORTDOCS%%@dirrm share/doc/tpasm
END-of-./pkg-plist
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XTpasm is a command line based cross-assembler for a variety of common
Xmicroprocessors and controllers, currently supporting:
X
XRockwell 6502 (6502, 65c02)
XMotorola 6805 (6805, 68705), 6809, 68HC11
XIntel 8051 (8031, 8032, 8051, 8052, 80c390)
XAtmel AVR (avt, attiny, at90, atmega series)
XCore Technologies CTXP-1
XMicrochip PIC (12xxx, 14xxx, 16xxx, 17xxx series)
XSunplus SPCxxx series
XZilog Z80 (z80, z180)
X
XFeatures are:
X
X    * True multi-pass assembly (will take as many passes as needed)
X    * Multiple segments
X    * Sophisticated expressions
X    * Macros, repeats, conditionals
X    * Arbitrary length labels
X    * Local labels
X    * Supporting new processors is reasonably straightforward
X    * Can switch between processors during assembly
X
XWWW: http://www.sqrt.com/
END-of-./pkg-descr
echo x - ./pkg-comment
sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment'
XCross-assembler for 6805, 6809, 68HC11, 6502, Sunplus, 8051, Z80, PIC, and AVR
END-of-./pkg-comment
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (tpasm1.1.tgz) = 06452069f0ce8dd16b830463abdf4a6a
END-of-./distinfo
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-Makefile
sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
X--- Makefile.orig	Thu Feb 13 19:58:06 2003
X+++ Makefile	Thu Feb 13 19:58:18 2003
X@@ -17,8 +17,8 @@
X 
X # new gnu compilers have a really annoying default behavior of wrapping
X # error message lines. The default should be NO-WRAPPING.
X-OPTIONS=-O2 -Wall -x c++ -fmessage-length=0
X-CFLAGS=$(INCLUDES) $(OPTIONS)
X+OPTIONS=-x c++
X+CFLAGS+=$(INCLUDES) $(OPTIONS)
X 
X OBJECTS = \
X 	globals.o \
END-of-./files/patch-Makefile
exit


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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