summaryrefslogtreecommitdiff
path: root/devel/tavrasm
diff options
context:
space:
mode:
authorwiz <wiz>2000-12-16 16:53:14 +0000
committerwiz <wiz>2000-12-16 16:53:14 +0000
commit089ce826f6334f205b67d938999a269c7135be51 (patch)
tree7e3411483446079d450dada3ed71b9a8f3dee5f1 /devel/tavrasm
parentdf504a70108c6b2b72b44c85ca2e9d5139779ddd (diff)
downloadpkgsrc-089ce826f6334f205b67d938999a269c7135be51.tar.gz
Initial import of tavrasm-0.15:
tavrasm is an assembler for the Atmel AVR series of microcontrollers. It compiles code written for Atmels AVR DOS assembler. Package provided by Dieter Baron in private communication.
Diffstat (limited to 'devel/tavrasm')
-rw-r--r--devel/tavrasm/Makefile25
-rw-r--r--devel/tavrasm/files/md53
-rw-r--r--devel/tavrasm/files/patch-sum3
-rw-r--r--devel/tavrasm/patches/patch-aa52
-rw-r--r--devel/tavrasm/pkg/COMMENT1
-rw-r--r--devel/tavrasm/pkg/DESCR4
-rw-r--r--devel/tavrasm/pkg/PLIST4
7 files changed, 92 insertions, 0 deletions
diff --git a/devel/tavrasm/Makefile b/devel/tavrasm/Makefile
new file mode 100644
index 00000000000..afa29a259d7
--- /dev/null
+++ b/devel/tavrasm/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/16 16:53:14 wiz Exp $
+#
+
+DISTNAME= tavrasm
+PKGNAME= ${DISTNAME}-1.15
+CATEGORIES= devel
+MASTER_SITES= http://www.tavrasm.org/
+
+MAINTAINER= dillo@giga.or.at
+HOMEPAGE= http://www.tavrasm.org/
+
+BUILD_DEPENDS+= bison:../../devel/bison
+
+WRKSRCTOP= ${WRKDIR}/tavrasm.115
+WRKSRC= ${WRKSRCTOP}/src
+MAKEFILE= makefile
+
+DIST_SUBDIR= ${PKGNAME}
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/doc/tavrasm
+ ${INSTALL_DATA} ${WRKSRCTOP}/README ${PREFIX}/share/doc/tavrasm/README
+ ${INSTALL_PROGRAM} ${WRKSRC}/tavrasm ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/tavrasm/files/md5 b/devel/tavrasm/files/md5
new file mode 100644
index 00000000000..79dd88d8efa
--- /dev/null
+++ b/devel/tavrasm/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/16 16:53:14 wiz Exp $
+
+MD5 (tavrasm-1.15/tavrasm.tar.gz) = 23358cb72ba9bfb49642b72a82bead77
diff --git a/devel/tavrasm/files/patch-sum b/devel/tavrasm/files/patch-sum
new file mode 100644
index 00000000000..f2e1c54df83
--- /dev/null
+++ b/devel/tavrasm/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/16 16:53:14 wiz Exp $
+
+MD5 (patch-aa) = a30362d40381d1ca60751e0ad365685e
diff --git a/devel/tavrasm/patches/patch-aa b/devel/tavrasm/patches/patch-aa
new file mode 100644
index 00000000000..f1ffd7ef677
--- /dev/null
+++ b/devel/tavrasm/patches/patch-aa
@@ -0,0 +1,52 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/16 16:53:14 wiz Exp $
+
+--- makefile.orig Thu Nov 2 11:44:48 2000
++++ makefile Fri Dec 15 16:36:50 2000
+@@ -26,11 +26,13 @@
+
+ #CC = egcs
+ CC = gcc
+-CFLAGS = -O2 -m486 -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE)
++CFLAGS = -O2 -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE)
+ CPPFLAGS =
+ CCFLAGS = $(CFLAGS) $(CPPFLAGS)
+ LINK = -lm
+ OBJS = avrparse.o avrlex.o avrasm.o symbol.o semantic.o utils.o
++LEX = lex
++YACC = bison
+
+ ### Defaul CC files #########################################################
+
+@@ -39,13 +41,15 @@
+
+ ### Executable ##############################################################
+
++all: $(EXENAME)
++
+ $(EXENAME): $(OBJS)
+ $(CC) $(CCFLAGS) $(OBJS) $(LINK) -o $@
+
+ ### Parser file #############################################################
+
+ avrparse.cc: avrparse.y avrasm.hh symbol.hh semantic.hh opcodes.hh
+- bison -d -o avrparse avrparse.y
++ ${YACC} -d -o avrparse avrparse.y
+ mv avrparse avrparse.cc
+ mv avrparse.h avrparse.hh
+
+@@ -53,12 +57,12 @@
+
+ avrlex.cc: avrparse.cc avrlex.l symbol.hh semantic.hh avrparse.hh \
+ opcodes.hh avrasm.hh messages.hh
+- flex -o$@ avrlex.l
++ ${LEX} -o$@ avrlex.l
+
+ ### Dependencies ############################################################
+
+-avrlex.o: avrlex.l
+-avrparse.o: avrparse.y
++avrlex.o: avrlex.cc
++avrparse.o: avrparse.cc
+ avrasm.o: avrasm.cc avrasm.hh symbol.hh devices.hh messages.hh
+ symbol.o: symbol.cc symbol.hh avrasm.hh
+ utils.o: utils.cc utils.hh avrasm.hh messages.hh msg_us.hh msg_de.hh msg_sp.hh
diff --git a/devel/tavrasm/pkg/COMMENT b/devel/tavrasm/pkg/COMMENT
new file mode 100644
index 00000000000..2cb0b01ff13
--- /dev/null
+++ b/devel/tavrasm/pkg/COMMENT
@@ -0,0 +1 @@
+assembler for the Atmel AVR series of microcontrollers
diff --git a/devel/tavrasm/pkg/DESCR b/devel/tavrasm/pkg/DESCR
new file mode 100644
index 00000000000..25cdb61fe6c
--- /dev/null
+++ b/devel/tavrasm/pkg/DESCR
@@ -0,0 +1,4 @@
+tavrasm is an assembler for the Atmel AVR series of microcontrollers.
+It compiles code written for Atmels AVR DOS assembler. Other features
+include macros in macros, 'C' escape characters in char/string
+literals.
diff --git a/devel/tavrasm/pkg/PLIST b/devel/tavrasm/pkg/PLIST
new file mode 100644
index 00000000000..e8b484e9d97
--- /dev/null
+++ b/devel/tavrasm/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/16 16:53:14 wiz Exp $
+bin/tavrasm
+share/doc/tavrasm/README
+@dirrm share/doc/tavrasm