diff options
author | wes <wes@FreeBSD.org> | 2005-02-18 11:13:57 +0800 |
---|---|---|
committer | wes <wes@FreeBSD.org> | 2005-02-18 11:13:57 +0800 |
commit | 30f069e0348a516fd33a9ae523b6fc7af71c45ec (patch) | |
tree | 67be9d69a8913c11d128e821eef2dfd6e15b5778 /devel | |
parent | eb024fabdcd897267e2951544275704caf4dc034 (diff) | |
download | freebsd-ports-graphics-30f069e0348a516fd33a9ae523b6fc7af71c45ec.tar.gz freebsd-ports-graphics-30f069e0348a516fd33a9ae523b6fc7af71c45ec.tar.zst freebsd-ports-graphics-30f069e0348a516fd33a9ae523b6fc7af71c45ec.zip |
Add yet another AVR assembler. This one appears to have better
version control than Tom's AVR Assembler (tavrasm), and to accept
more of the standard Atmel source files. This one also has an
enhanced macro facility.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/avra/Makefile | 33 | ||||
-rw-r--r-- | devel/avra/distinfo | 2 | ||||
-rw-r--r-- | devel/avra/files/patch-SOURCE-Makefile | 13 | ||||
-rw-r--r-- | devel/avra/files/patch-SOURCE-expr.c | 20 | ||||
-rw-r--r-- | devel/avra/pkg-descr | 4 | ||||
-rw-r--r-- | devel/avra/pkg-plist | 1 |
7 files changed, 74 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 52606ca2f18..275fe4f2103 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -69,6 +69,7 @@ SUBDIR += avr-gcc SUBDIR += avr-gdb SUBDIR += avr-libc + SUBDIR += avra SUBDIR += avrdude SUBDIR += bcc SUBDIR += bcpp diff --git a/devel/avra/Makefile b/devel/avra/Makefile new file mode 100644 index 00000000000..abcb7a04880 --- /dev/null +++ b/devel/avra/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: tavrasm +# Date created: 12 December 2003 +# Whom: Wes Peters <wes@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= avra +PORTVERSION= 1.0.1 +DISTVERSIONSUFFIX= -src +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=${PORTNAME} + +MAINTAINER= wes@FreeBSD.org +COMMENT= Macro Assembler for Atmel AVR microcontrollers + +USE_GMAKE= yes +WRKSRC= ${WRKDIR} +BUILD_WRKSRC= ${WRKSRC}/SOURCE +INSTALL_WRKSRC= ${WRKSRC}/SOURCE + +PORTDOCS= README + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/devel/avra/distinfo b/devel/avra/distinfo new file mode 100644 index 00000000000..27cd9ad422a --- /dev/null +++ b/devel/avra/distinfo @@ -0,0 +1,2 @@ +MD5 (avra-1.0.1-src.tar.gz) = 002a810e12d6b64f0079a7508a5b8066 +SIZE (avra-1.0.1-src.tar.gz) = 90993 diff --git a/devel/avra/files/patch-SOURCE-Makefile b/devel/avra/files/patch-SOURCE-Makefile new file mode 100644 index 00000000000..74bab38c162 --- /dev/null +++ b/devel/avra/files/patch-SOURCE-Makefile @@ -0,0 +1,13 @@ +--- SOURCE/Makefile.orig Tue Feb 15 07:40:36 2005 ++++ SOURCE/Makefile Tue Feb 15 07:40:58 2005 +@@ -27,8 +27,8 @@ + + install: avra + cp avra /usr/local/bin +- cp avra.1 /usr/local/man/man1 +- chmod +r /usr/local/man/man1/avra.1 ++# cp avra.1 /usr/local/man/man1 ++# chmod +r /usr/local/man/man1/avra.1 + + clean: + rm -f avra *.o *.p *~ avra.exe diff --git a/devel/avra/files/patch-SOURCE-expr.c b/devel/avra/files/patch-SOURCE-expr.c new file mode 100644 index 00000000000..edffbedca9f --- /dev/null +++ b/devel/avra/files/patch-SOURCE-expr.c @@ -0,0 +1,20 @@ +--- SOURCE/expr.c.orig Thu Jun 10 21:01:40 2004 ++++ SOURCE/expr.c Mon Feb 14 21:30:15 2005 +@@ -241,7 +241,7 @@ + } + + +-int log2(int value) ++int do_log2(int value) + { + int i = 0; + +@@ -271,7 +271,7 @@ + case FUNCTION_EXP2: + return(1 << value); + case FUNCTION_LOG2: +- return(log2(value)); ++ return(do_log2(value)); + default: + return(0); + } diff --git a/devel/avra/pkg-descr b/devel/avra/pkg-descr new file mode 100644 index 00000000000..b25f5c833d3 --- /dev/null +++ b/devel/avra/pkg-descr @@ -0,0 +1,4 @@ +avra is an GNU GPL'ed assembler for the Atmel AVR microcontrollers. +See the file COPYING for more information regarding the license. + +WWW: http://avra.sourceforge.net/ diff --git a/devel/avra/pkg-plist b/devel/avra/pkg-plist new file mode 100644 index 00000000000..af07e42003b --- /dev/null +++ b/devel/avra/pkg-plist @@ -0,0 +1 @@ +bin/avra |