bcallah 79ce6121bc Import devel/zmac, a Z-80 macro cross assembler.
ok benoit@

zmac is a Z-80 macro cross-assembler. It has all the features you'd
expect. It assembles the specified input file (with a '.z' extension if
there is no pre-existing extension and the file as given doesn't exist)
and produces program output in many different formats. It also produces
a nicely-formatted listing of the machine code and cycle counts
alongside the source in a ".lst" file.

Undocumented Z-80 instructions are supported as well as 8080 code.

zmac strives to be a powerful assembler with expressions familiar to C
programmers while providing good backward compatibility with original
assemblers such as Edtasm, MRAS and Macro-80.
2020-07-03 15:24:22 +00:00

28 lines
539 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/07/03 15:24:22 bcallah Exp $
COMMENT = Z-80 macro cross assembler
DISTNAME = zmac-20200607
CATEGORIES = devel
HOMEPAGE = http://48k.ca/zmac.html
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# Public Domain
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} c m
MASTER_SITES = https://mirrors.nycbug.org/pub/distfiles/
COMPILER = base-clang ports-gcc
ALL_TARGET = zmac
NO_TEST = Yes
# No install routine.
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/zmac ${PREFIX}/bin
.include <bsd.port.mk>