From c1b1d586bf94858795ce572dd3556af084fcce2f Mon Sep 17 00:00:00 2001 From: minskim Date: Fri, 13 Feb 2004 23:00:36 +0000 Subject: 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. --- cross/atasm/DESCR | 3 +++ cross/atasm/Makefile | 32 ++++++++++++++++++++++++++++++++ cross/atasm/PLIST | 5 +++++ cross/atasm/distinfo | 5 +++++ cross/atasm/patches/patch-aa | 17 +++++++++++++++++ 5 files changed, 62 insertions(+) create mode 100644 cross/atasm/DESCR create mode 100644 cross/atasm/Makefile create mode 100644 cross/atasm/PLIST create mode 100644 cross/atasm/distinfo create mode 100644 cross/atasm/patches/patch-aa (limited to 'cross/atasm') 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 -- cgit v1.2.3