summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-13 23:00:36 +0000
committerminskim <minskim@pkgsrc.org>2004-02-13 23:00:36 +0000
commitc17278aab2ad78a3ead806ab073311973b6695b6 (patch)
treefc268a3568026f539c610e0200b8d268b6c833cb /cross
parent0f9aa670e3e85dbfca0382d6faf80558d3ee3d18 (diff)
downloadpkgsrc-c17278aab2ad78a3ead806ab073311973b6695b6.tar.gz
Import atasm-1.04 from pkgsrc-wip. Packaged by mor at linex dot com
in PR pkg/22190, and modified by me. This is a 6502 cross-assembler optimized to code for the Atari 8 bit computer line. It is meant to be compatible with the Mac/65 assemlber on the native Atari 8 bit platform.
Diffstat (limited to 'cross')
-rw-r--r--cross/atasm/DESCR3
-rw-r--r--cross/atasm/Makefile32
-rw-r--r--cross/atasm/PLIST5
-rw-r--r--cross/atasm/distinfo5
-rw-r--r--cross/atasm/patches/patch-aa17
5 files changed, 62 insertions, 0 deletions
diff --git a/cross/atasm/DESCR b/cross/atasm/DESCR
new file mode 100644
index 00000000000..da70d11598a
--- /dev/null
+++ b/cross/atasm/DESCR
@@ -0,0 +1,3 @@
+This is a 6502 cross-assembler optimized to code for the Atari 8 bit
+computer line. It is meant to be compatible with the Mac/65 assemlber
+on the native Atari 8 bit platform.
diff --git a/cross/atasm/Makefile b/cross/atasm/Makefile
new file mode 100644
index 00000000000..efeb73567b7
--- /dev/null
+++ b/cross/atasm/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/13 23:00:36 minskim Exp $
+#
+
+DISTNAME= atasm104
+PKGNAME= atasm-1.04
+CATEGORIES= devel cross emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=atasm/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://sourceforge.net/projects/atasm/
+COMMENT= Cross-assembler for 6502 optimized to code for Atari 8 bit computers
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+NO_CONFIGURE= YES
+USE_BUILDLINK3= YES
+
+DOCDIR= ${PREFIX}/share/doc/atasm
+
+INSTALLATION_DIRS= bin man/man1
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/atasm ${PREFIX}/bin/atasm
+ ${SED} -e 's,%%DOCDIR%%,${DOCDIR},g' < ${WRKSRC}/atasm.1.in > ${WRKSRC}/atasm.1
+ ${INSTALL_DATA} ${WRKSRC}/atasm.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/atasm.txt ${DOCDIR}
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cross/atasm/PLIST b/cross/atasm/PLIST
new file mode 100644
index 00000000000..f2e40a25182
--- /dev/null
+++ b/cross/atasm/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/13 23:00:36 minskim Exp $
+bin/atasm
+man/man1/atasm.1
+share/doc/atasm/atasm.txt
+@dirrm share/doc/atasm
diff --git a/cross/atasm/distinfo b/cross/atasm/distinfo
new file mode 100644
index 00000000000..9041705da76
--- /dev/null
+++ b/cross/atasm/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/13 23:00:36 minskim Exp $
+
+SHA1 (atasm104.zip) = 7cee73afe97d92c8a299b6203fc9245241764810
+Size (atasm104.zip) = 186653 bytes
+SHA1 (patch-aa) = 719da09ed78357498eebb438bdeddb1364b824ae
diff --git a/cross/atasm/patches/patch-aa b/cross/atasm/patches/patch-aa
new file mode 100644
index 00000000000..f1b26725f77
--- /dev/null
+++ b/cross/atasm/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/13 23:00:36 minskim Exp $
+
+--- Makefile.orig 2003-08-22 19:53:29.000000000 -0500
++++ Makefile
+@@ -16,10 +16,10 @@ ZLIB = -lz
+ UNIX = -DUNIX
+
+ # Compiler flags, if you are using egcs, pgcs, or gcc >2.8.1 use:
+-CFLAGS = -Wall $(USEZ) $(DOS) $(UNIX) -O3 -fomit-frame-pointer -march=pentiumpro
++CFLAGS += $(USEZ) $(DOS) $(UNIX)
+
+ L = $(ZLIB)
+-CC = gcc
++#CC = gcc
+ DESTDIR = /usr/local/bin
+ MANDIR = /usr/local/man/man1
+ DOCDIR = /usr/local/doc/atasm