summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordillo <dillo>2001-10-29 18:30:30 +0000
committerdillo <dillo>2001-10-29 18:30:30 +0000
commitf690b676c21d6a62b6d361858f9856fad1dc640c (patch)
tree23c3e979a0c2032b86ced884771cb6820a214127
parent457f684c0172257b3e4e7bf0458169fdccfdec8e (diff)
downloadpkgsrc-f690b676c21d6a62b6d361858f9856fad1dc640c.tar.gz
Initial import of acme 0.85, a cross assembler for 6052 and compatibles.
-rw-r--r--devel/acme/Makefile35
-rw-r--r--devel/acme/distinfo8
-rw-r--r--devel/acme/patches/patch-aa25
-rw-r--r--devel/acme/patches/patch-ab13
-rw-r--r--devel/acme/pkg/DESCR4
-rw-r--r--devel/acme/pkg/PLIST45
6 files changed, 130 insertions, 0 deletions
diff --git a/devel/acme/Makefile b/devel/acme/Makefile
new file mode 100644
index 00000000000..39294affeba
--- /dev/null
+++ b/devel/acme/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/29 18:30:30 dillo Exp $
+#
+
+DISTNAME= acme085_linux
+PKGNAME= acme-0.85
+CATEGORIES= devel
+MASTER_SITES= http://www.esw-heim.tu-clausthal.de/~marco/cpf/current/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LIBDIST}
+
+MAINTAINER= dillo@netbsd.org
+HOMEPAGE= http://home.pages.de/~mac_bacon/cpf/acme.html
+COMMENT= Cross assembler for 6502, 65c02, and 65816
+
+BUILD_DEPENDS+= unzip-*:../../archivers/unzip
+
+LIBDIST= lib002.zip
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+WRKTOP= ${WRKDIR}/acme085
+WRKSRC= ${WRKTOP}/sources
+
+ACME_LIB= ${PREFIX}/share/acme
+MAKE_ENV+= ACME_LIB=${ACME_LIB}
+
+post-extract:
+ cd ${WRKDIR} && unzip -qa ${_DISTDIR}/${LIBDIST}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/acme ${PREFIX}/bin/acme
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/acme
+ ${INSTALL_DATA} ${WRKTOP}/docs/* ${PREFIX}/share/doc/acme
+ ${INSTALL_DATA_DIR} ${ACME_LIB}
+ cd ${WRKDIR}/ACME_Lib && ${PAX} -rw . ${ACME_LIB}
+ ${CHOWN} -R root:wheel ${ACME_LIB}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/acme/distinfo b/devel/acme/distinfo
new file mode 100644
index 00000000000..f59a32653d9
--- /dev/null
+++ b/devel/acme/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/29 18:30:30 dillo Exp $
+
+SHA1 (acme085_linux.tar.gz) = 8eb698e839eecea631b1eb3404071c02d2915474
+Size (acme085_linux.tar.gz) = 100590 bytes
+SHA1 (lib002.zip) = 699f85edec7e28feb7f50abbf4fc2380757bb4f1
+Size (lib002.zip) = 18197 bytes
+SHA1 (patch-aa) = b0131874ccfd8f7b43e9d25b363b6a7fdda502e3
+SHA1 (patch-ab) = ef30221626d8145cf8f8e67be3a0eb3e0495d006
diff --git a/devel/acme/patches/patch-aa b/devel/acme/patches/patch-aa
new file mode 100644
index 00000000000..1f703163376
--- /dev/null
+++ b/devel/acme/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/10/29 18:30:30 dillo Exp $
+
+--- Makefile.orig Thu May 17 13:33:00 2001
++++ Makefile
+@@ -1,7 +1,8 @@
+-CFLAGS = -O2
++CFLAGS+= -DDEFAULT_ACME_LIB=\"${ACME_LIB}\"
++#CFLAGS = -O2
+ LIBS = -lm
+-CC = gcc
+-RM = rm
++#CC = gcc
++#RM = rm
+
+ SRC = acme.c alu.c alu.h block.c block.h config.h context.c\
+ context.h core.c core.h cpu.c cpu.h data.c data.h flowpo.c\
+@@ -15,7 +16,7 @@
+ tree.c tree.h
+
+ PROGS = acme
+-BINDIR = /usr/local/bin
++BINDIR = ${PREFIX}/bin
+
+ all: $(PROGS)
+
diff --git a/devel/acme/patches/patch-ab b/devel/acme/patches/patch-ab
new file mode 100644
index 00000000000..54639a74c5b
--- /dev/null
+++ b/devel/acme/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/10/29 18:30:30 dillo Exp $
+
+--- platform/std.c.orig Thu Mar 22 15:17:38 2001
++++ platform/std.c
+@@ -27,7 +27,7 @@
+ psLibPath = (char *) ALLOC_PROCESS(c + 1);
+ strcpy(psLibPath, pPathname);
+ } else {
+- psLibPath = NULL;
++ psLibPath = DEFAULT_ACME_LIB "/";
+ }
+ }
+
diff --git a/devel/acme/pkg/DESCR b/devel/acme/pkg/DESCR
new file mode 100644
index 00000000000..f1cf6850f86
--- /dev/null
+++ b/devel/acme/pkg/DESCR
@@ -0,0 +1,4 @@
+ACME is a free crossassembler, released under the GNU General Public
+License. The current version can produce code for the 6502, 65c02 and
+65816 processors. (Support for some of the 6510's illegal opcodes is
+planned.)
diff --git a/devel/acme/pkg/PLIST b/devel/acme/pkg/PLIST
new file mode 100644
index 00000000000..7b3789a5d07
--- /dev/null
+++ b/devel/acme/pkg/PLIST
@@ -0,0 +1,45 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/29 18:30:30 dillo Exp $
+bin/acme
+share/acme/6502/Help.txt
+share/acme/6502/std.a
+share/acme/65816/Help.txt
+share/acme/65816/scpu.a
+share/acme/65816/std.a
+share/acme/Acorn/Help.txt
+share/acme/Atari/Help.txt
+share/acme/C128/BASIC7.a
+share/acme/C128/Help.txt
+share/acme/C128/kernel.a
+share/acme/C128/mmu.a
+share/acme/C128/petscii.a
+share/acme/C128/vdc.a
+share/acme/C128/zeropage.a
+share/acme/C64/BASIC2.a
+share/acme/C64/Help.txt
+share/acme/C64/cia1.a
+share/acme/C64/cia2.a
+share/acme/C64/kernel.a
+share/acme/C64/petscii.a
+share/acme/C64/vic.a
+share/acme/Own/Help.txt
+share/doc/acme/65816.txt
+share/doc/acme/AddrModes.txt
+share/doc/acme/AllPOs.txt
+share/doc/acme/COPYING
+share/doc/acme/Changes.txt
+share/doc/acme/Errors.txt
+share/doc/acme/Example.txt
+share/doc/acme/Help.txt
+share/doc/acme/Lib.txt
+share/doc/acme/QuickRef.txt
+share/doc/acme/Source.txt
+share/doc/acme/Upgrade.txt
+@dirrm share/doc/acme
+@dirrm share/acme/Own
+@dirrm share/acme/C64
+@dirrm share/acme/C128
+@dirrm share/acme/Atari
+@dirrm share/acme/Acorn
+@dirrm share/acme/65816
+@dirrm share/acme/6502
+@dirrm share/acme