diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/tavrasm/Makefile | 51 | ||||
-rw-r--r-- | devel/tavrasm/distinfo | 2 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-2313def.inc | 11 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-2333def.inc | 11 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-4414def.inc | 11 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-4433def.inc | 11 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-4434def.inc | 11 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-8515def.inc | 11 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-8535def.inc | 11 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-avrasm.cc | 14 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-avrparse.y | 11 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-m103def.inc | 11 | ||||
-rw-r--r-- | devel/tavrasm/files/patch-m603def.inc | 11 | ||||
-rw-r--r-- | devel/tavrasm/pkg-descr | 8 | ||||
-rw-r--r-- | devel/tavrasm/pkg-plist | 29 |
16 files changed, 215 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 41bfb8d04f2b..08d52a7cb2d0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1087,6 +1087,7 @@ SUBDIR += syntax_tools SUBDIR += sysconftool SUBDIR += t1lib + SUBDIR += tavrasm SUBDIR += tcl-memchan SUBDIR += tcl-neo SUBDIR += tcl-trf diff --git a/devel/tavrasm/Makefile b/devel/tavrasm/Makefile new file mode 100644 index 000000000000..a5ff174970ad --- /dev/null +++ b/devel/tavrasm/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: tavrasm +# Date created: 12 December 2003 +# Whom: Wes Peters <wes@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= tavrasm +PORTVERSION= 1.19 +CATEGORIES= devel +MASTER_SITES= http://www.tavrasm.org/:0 +DISTFILES= ${PORTNAME}${EXTRACT_SUFX}:0 + +MAINTAINER= wes@FreeBSD.org +COMMENT= Tom's AVR Assembler + +BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison + +WRKSRC= ${WRKDIR}/tavrasm.119 +BUILD_WRKSRC= ${WRKSRC}/src + +AVR_INCLUDE= ${PREFIX}/include/avr + +MAKEFILE= makefile +USE_GMAKE= yes +ALL_TARGET= tavrasm + +# Also get the include files and documentation from Atmel + +MASTER_SITES+= http://www.atmel.com/dyn/resources/prod_documents/:1 +DISTFILES+= ASM.ZIP:1 + +do-extract: + @${RM} -rf ${WRKDIR} + @${MKDIR} ${WRKDIR} + @if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}${PORTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS});\ + then \ + exit 1; \ + fi + @if ! (unzip -qoLa ${_DISTDIR}ASM.ZIP 'appnotes/*.inc' 'doc/*' -d ${WRKSRC});\ + then \ + exit 1; \ + fi + +do-install: + ${MKDIR} ${DOCSDIR} ${AVR_INCLUDE} + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + ${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/* ${DOCSDIR} + ${INSTALL_DATA} ${INSTALL_WRKSRC}/appnotes/*.inc ${AVR_INCLUDE} + +.include <bsd.port.mk> diff --git a/devel/tavrasm/distinfo b/devel/tavrasm/distinfo new file mode 100644 index 000000000000..2e52e6aa5bb5 --- /dev/null +++ b/devel/tavrasm/distinfo @@ -0,0 +1,2 @@ +MD5 (tavrasm.tar.gz) = 90077f183fc7c4e030bd909d0d5bde04 +MD5 (ASM.ZIP) = 5e7e125b807fbdb621bc1d796a04b31d diff --git a/devel/tavrasm/files/patch-2313def.inc b/devel/tavrasm/files/patch-2313def.inc new file mode 100644 index 000000000000..9ce31c920941 --- /dev/null +++ b/devel/tavrasm/files/patch-2313def.inc @@ -0,0 +1,11 @@ +--- appnotes/2313def.inc.orig Thu Dec 11 23:51:26 2003 ++++ appnotes/2313def.inc Thu Dec 11 23:51:56 2003 +@@ -187,7 +187,7 @@ + .equ TXC =6 + .equ UDRE =5 + .equ FE =4 +-.equ OR =3 ++.equ ORB =3 + + .equ RXCIE =7 + .equ TXCIE =6 diff --git a/devel/tavrasm/files/patch-2333def.inc b/devel/tavrasm/files/patch-2333def.inc new file mode 100644 index 000000000000..0dccb799b28a --- /dev/null +++ b/devel/tavrasm/files/patch-2333def.inc @@ -0,0 +1,11 @@ +--- appnotes/2333def.inc.orig Thu Dec 11 23:51:26 2003 ++++ appnotes/2333def.inc Thu Dec 11 23:52:08 2003 +@@ -161,7 +161,7 @@ + .equ TXC =6 + .equ UDRE =5 + .equ FE =4 +-.equ OR =3 ++.equ ORB =3 + .equ MPCM =0 + + .equ RXCIE =7 diff --git a/devel/tavrasm/files/patch-4414def.inc b/devel/tavrasm/files/patch-4414def.inc new file mode 100644 index 000000000000..5a622e44a407 --- /dev/null +++ b/devel/tavrasm/files/patch-4414def.inc @@ -0,0 +1,11 @@ +--- appnotes/4414def.inc.orig Thu Dec 11 23:51:26 2003 ++++ appnotes/4414def.inc Thu Dec 11 23:52:40 2003 +@@ -262,7 +262,7 @@ + .equ TXC =6 + .equ UDRE =5 + .equ FE =4 +-.equ OR =3 ++.equ ORB =3 + + .equ SPIE =7 + .equ SPE =6 diff --git a/devel/tavrasm/files/patch-4433def.inc b/devel/tavrasm/files/patch-4433def.inc new file mode 100644 index 000000000000..81dfcb8cf02d --- /dev/null +++ b/devel/tavrasm/files/patch-4433def.inc @@ -0,0 +1,11 @@ +--- appnotes/4433def.inc.orig Thu Dec 11 23:51:26 2003 ++++ appnotes/4433def.inc Thu Dec 11 23:52:53 2003 +@@ -161,7 +161,7 @@ + .equ TXC =6 + .equ UDRE =5 + .equ FE =4 +-.equ OR =3 ++.equ ORB =3 + .equ MPCM =0 + + .equ RXCIE =7 diff --git a/devel/tavrasm/files/patch-4434def.inc b/devel/tavrasm/files/patch-4434def.inc new file mode 100644 index 000000000000..963036590d05 --- /dev/null +++ b/devel/tavrasm/files/patch-4434def.inc @@ -0,0 +1,11 @@ +--- appnotes/4434def.inc.orig Thu Dec 11 23:57:23 2003 ++++ appnotes/4434def.inc Thu Dec 11 23:53:00 2003 +@@ -302,7 +302,7 @@ + .equ TXC =6 + .equ UDRE =5 + .equ FE =4 +-.equ OR =3 ++.equ ORB =3 + + .equ RXCIE =7 + .equ TXCIE =6 diff --git a/devel/tavrasm/files/patch-8515def.inc b/devel/tavrasm/files/patch-8515def.inc new file mode 100644 index 000000000000..87673141564f --- /dev/null +++ b/devel/tavrasm/files/patch-8515def.inc @@ -0,0 +1,11 @@ +--- appnotes/8515def.inc.orig Thu Dec 11 23:51:26 2003 ++++ appnotes/8515def.inc Thu Dec 11 23:53:06 2003 +@@ -274,7 +274,7 @@ + .equ TXC =6 + .equ UDRE =5 + .equ FE =4 +-.equ OR =3 ++.equ ORB =3 + + .equ RXCIE =7 + .equ TXCIE =6 diff --git a/devel/tavrasm/files/patch-8535def.inc b/devel/tavrasm/files/patch-8535def.inc new file mode 100644 index 000000000000..f2b54c0e5ba3 --- /dev/null +++ b/devel/tavrasm/files/patch-8535def.inc @@ -0,0 +1,11 @@ +--- appnotes/8535def.inc.orig Thu Dec 11 23:56:34 2003 ++++ appnotes/8535def.inc Thu Dec 11 23:53:13 2003 +@@ -303,7 +303,7 @@ + .equ TXC =6 + .equ UDRE =5 + .equ FE =4 +-.equ OR =3 ++.equ ORB =3 + + .equ RXCIE =7 + .equ TXCIE =6 diff --git a/devel/tavrasm/files/patch-avrasm.cc b/devel/tavrasm/files/patch-avrasm.cc new file mode 100644 index 000000000000..8490584b15d8 --- /dev/null +++ b/devel/tavrasm/files/patch-avrasm.cc @@ -0,0 +1,14 @@ +--- src/avrasm.cc.orig Fri Dec 12 13:50:49 2003 ++++ src/avrasm.cc Fri Dec 12 13:56:40 2003 +@@ -861,6 +861,11 @@ + strcpy(type_start,"."); + } + ++ /// Append default search path ///////////////////////////////////////////// ++ ++ if (yyIncPathCount < MAX_INCPATH_QTY) ++ yyIncludePaths[yyIncPathCount++] = "/usr/local/include/avr"; ++ + return ok; + } + diff --git a/devel/tavrasm/files/patch-avrparse.y b/devel/tavrasm/files/patch-avrparse.y new file mode 100644 index 000000000000..43b973af9502 --- /dev/null +++ b/devel/tavrasm/files/patch-avrparse.y @@ -0,0 +1,11 @@ +--- src/avrparse.y.orig Sat Dec 6 21:09:01 2003 ++++ src/avrparse.y Sat Dec 6 21:09:14 2003 +@@ -46,7 +46,7 @@ + + #include <string.h> + #include <stdio.h> +-#include <malloc.h> ++#include <stdlib.h> + #include "avrasm.hh" + #include "symbol.hh" + #include "semantic.hh" diff --git a/devel/tavrasm/files/patch-m103def.inc b/devel/tavrasm/files/patch-m103def.inc new file mode 100644 index 000000000000..a79903574b94 --- /dev/null +++ b/devel/tavrasm/files/patch-m103def.inc @@ -0,0 +1,11 @@ +--- appnotes/m103def.inc.orig Thu Dec 11 23:51:26 2003 ++++ appnotes/m103def.inc Thu Dec 11 23:53:19 2003 +@@ -359,7 +359,7 @@ + .equ TXC =6 + .equ UDRE =5 + .equ FE =4 +-.equ OR =3 ++.equ ORB =3 + + .equ RXCIE =7 + .equ TXCIE =6 diff --git a/devel/tavrasm/files/patch-m603def.inc b/devel/tavrasm/files/patch-m603def.inc new file mode 100644 index 000000000000..a260ba00f0fe --- /dev/null +++ b/devel/tavrasm/files/patch-m603def.inc @@ -0,0 +1,11 @@ +--- appnotes/m603def.inc.orig Thu Dec 11 23:51:26 2003 ++++ appnotes/m603def.inc Thu Dec 11 23:53:29 2003 +@@ -359,7 +359,7 @@ + .equ TXC =6 + .equ UDRE =5 + .equ FE =4 +-.equ OR =3 ++.equ ORB =3 + + .equ RXCIE =7 + .equ TXCIE =6 diff --git a/devel/tavrasm/pkg-descr b/devel/tavrasm/pkg-descr new file mode 100644 index 000000000000..f040df1c718f --- /dev/null +++ b/devel/tavrasm/pkg-descr @@ -0,0 +1,8 @@ +tavarsm is Toms (Linux) AVR Assembler. It compiles source code +developed for the Atmel-provided DOS assembler. It is a compatible +superset of the Atmel assembler. + +WWW: http://www.tavrasm.org/ + +This port also fetches the DOS AVR assembler from Atmel and installs +the include files and assembler documentation (in HTML) for reference. diff --git a/devel/tavrasm/pkg-plist b/devel/tavrasm/pkg-plist new file mode 100644 index 000000000000..1a44f90ffecc --- /dev/null +++ b/devel/tavrasm/pkg-plist @@ -0,0 +1,29 @@ +bin/tavrasm +share/doc/tavrasm/avrasm.htm +share/doc/tavrasm/copy.jpg +share/doc/tavrasm/cut.jpg +share/doc/tavrasm/new.jpg +share/doc/tavrasm/objfiles.htm +share/doc/tavrasm/open.jpg +share/doc/tavrasm/options.jpg +share/doc/tavrasm/paste.jpg +share/doc/tavrasm/regform.htm +share/doc/tavrasm/undo.jpg +include/avr/1200def.inc +include/avr/2313def.inc +include/avr/2323def.inc +include/avr/2333def.inc +include/avr/2343def.inc +include/avr/4414def.inc +include/avr/4433def.inc +include/avr/4434def.inc +include/avr/8515def.inc +include/avr/8534def.inc +include/avr/8535def.inc +include/avr/m103def.inc +include/avr/m603def.inc +include/avr/tn11def.inc +include/avr/tn12def.inc +include/avr/tn22def.inc +@dirrm share/doc/tavrasm +@dirrm include/avr |