mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
New port: a cross-assembler for 6805, 6809, 68HC11, 6502, Sunplus, 8051,
Z80, PIC, and AVR PR: 48243
This commit is contained in:
parent
a04450f908
commit
0de276bf92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76505
6 changed files with 82 additions and 0 deletions
|
@ -878,6 +878,7 @@
|
|||
SUBDIR += tkref
|
||||
SUBDIR += tmake
|
||||
SUBDIR += towitoko
|
||||
SUBDIR += tpasm
|
||||
SUBDIR += tpg
|
||||
SUBDIR += trio
|
||||
SUBDIR += tvision
|
||||
|
|
35
devel/tpasm/Makefile
Normal file
35
devel/tpasm/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
|||
# New ports collection makefile for: tpasm
|
||||
# Date created: 13 Feb 2003
|
||||
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= tpasm
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp.ct0.com/pub/
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= danfe@regency.nsu.ru
|
||||
COMMENT= Cross-assembler for 680x, 68hc11, 6502, Sunplus, 8051, Z80, PIC, AVR
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
@${MKDIR} ${PREFIX}/libdata/${PORTNAME}
|
||||
.for file in 8051 80c390 p16c505 picmacros
|
||||
${INSTALL_DATA} ${WRKSRC}/include/${file}.inc ${PREFIX}/libdata/${PORTNAME}
|
||||
.endfor
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/MANUAL.TXT ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/tpasm/distinfo
Normal file
1
devel/tpasm/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (tpasm1.1.tgz) = 06452069f0ce8dd16b830463abdf4a6a
|
13
devel/tpasm/files/patch-Makefile
Normal file
13
devel/tpasm/files/patch-Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- Makefile.orig Thu Feb 13 19:58:06 2003
|
||||
+++ Makefile Thu Feb 13 19:58:18 2003
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
# new gnu compilers have a really annoying default behavior of wrapping
|
||||
# error message lines. The default should be NO-WRAPPING.
|
||||
-OPTIONS=-O2 -Wall -x c++ -fmessage-length=0
|
||||
-CFLAGS=$(INCLUDES) $(OPTIONS)
|
||||
+OPTIONS=-x c++
|
||||
+CFLAGS+=$(INCLUDES) $(OPTIONS)
|
||||
|
||||
OBJECTS = \
|
||||
globals.o \
|
24
devel/tpasm/pkg-descr
Normal file
24
devel/tpasm/pkg-descr
Normal file
|
@ -0,0 +1,24 @@
|
|||
Tpasm is a command line based cross assembler 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
|
||||
|
||||
WWW: http://www.sqrt.com/
|
8
devel/tpasm/pkg-plist
Normal file
8
devel/tpasm/pkg-plist
Normal file
|
@ -0,0 +1,8 @@
|
|||
bin/tpasm
|
||||
libdata/tpasm/8051.inc
|
||||
libdata/tpasm/80c390.inc
|
||||
libdata/tpasm/p16c505.inc
|
||||
libdata/tpasm/picmacros.inc
|
||||
@dirrm libdata/tpasm
|
||||
%%PORTDOCS%%share/doc/tpasm/MANUAL.TXT
|
||||
%%PORTDOCS%%@dirrm share/doc/tpasm
|
Loading…
Add table
Reference in a new issue