ports/119149: New port: devel/z80asm

Sean McLaughlin sigma.zx at gmail.com
Sun Dec 30 04:10:03 UTC 2007


>Number:         119149
>Category:       ports
>Synopsis:       New port: devel/z80asm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 30 04:10:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Sean McLaughlin
>Release:        FreeBSD 6.3-PRERELEASE i386
>Organization:
n/a
>Environment:
System: FreeBSD Pavilion 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #3: Tue Dec 25 20:59:05 PST 2007 toor at Pavilion:/usr/obj/usr/src/sys/MYSMP i386
>Description:
New port: devel/z80asm
An assembler for the Z80 microprocessor.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/devel/z80asm
#	/usr/ports/devel/z80asm/distinfo
#	/usr/ports/devel/z80asm/Makefile
#	/usr/ports/devel/z80asm/pkg-descr
#	/usr/ports/devel/z80asm/files
#	/usr/ports/devel/z80asm/files/patch-Makefile
#	/usr/ports/devel/z80asm/pkg-plist
#
echo c - /usr/ports/devel/z80asm
mkdir -p /usr/ports/devel/z80asm > /dev/null 2>&1
echo x - /usr/ports/devel/z80asm/distinfo
sed 's/^X//' >/usr/ports/devel/z80asm/distinfo << 'END-of-/usr/ports/devel/z80asm/distinfo'
XMD5 (z80asm-1.6.tar.gz) = 9bfb5580c7ad14276c835afa74bf629b
XSHA256 (z80asm-1.6.tar.gz) = 9585830f5e2ec8d4c5d14cdf898ee46cafd9c6496575c73189be1e4ca04ac9b7
XSIZE (z80asm-1.6.tar.gz) = 57032
END-of-/usr/ports/devel/z80asm/distinfo
echo x - /usr/ports/devel/z80asm/Makefile
sed 's/^X//' >/usr/ports/devel/z80asm/Makefile << 'END-of-/usr/ports/devel/z80asm/Makefile'
X# New ports collection makefile for: z80asm
X# Date created: 29 Dec 2007
X# Whom: Sean McLaughlin <sigma.zx at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= z80asm
XPORTVERSION= 1.6
XCATEGORIES= devel
XMASTER_SITES= ${MASTER_SITE_SAVANNAH}
X
XMAINTAINER= sigma.zx at gmail.com
XCOMMENT= Assembler for the Z80 microprcessor
X
XUSE_GMAKE=yes
XMAN1= z80asm.1
X
Xpost-patch:
X	echo ${PATCHDIR}
X	@${REINPLACE_CMD} -e 's#/bin/bash#/bin/sh#' ${WRKSRC}/Makefile
X
Xdo-install:
X	${INSTALL_MAN} ${WRKSRC}/z80asm.1 ${PREFIX}/man/man1
X	${INSTALL_PROGRAM} ${WRKSRC}/z80asm ${PREFIX}/bin
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_MAN} -m 444 ${WRKSRC}/examples/hello.asm ${EXAMPLESDIR}
X	${INSTALL_MAN} -m 444 ${WRKSRC}/examples/macro.asm ${EXAMPLESDIR}
X	${INSTALL_MAN} -m 444 ${WRKSRC}/examples/seek.asm ${EXAMPLESDIR}
X	${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msx-bios.asm ${EXAMPLESDIR}
X	${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msx2+-bios.asm ${EXAMPLESDIR}
X	${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msx2-bios.asm ${EXAMPLESDIR}
X	${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msx2-subrom.asm ${EXAMPLESDIR}
X	${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msxturbor-bios.asm ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.mk>
X
END-of-/usr/ports/devel/z80asm/Makefile
echo x - /usr/ports/devel/z80asm/pkg-descr
sed 's/^X//' >/usr/ports/devel/z80asm/pkg-descr << 'END-of-/usr/ports/devel/z80asm/pkg-descr'
Xz80asm is an assembler for the Z80 microprcessor. The assembler aims to be portable
Xand complete. Of course it assembles all official mnemonics, but it also
Xaims to assemble the unofficial mnemonics.
X
XThe assembler features the output of listing files which show the source
Xwith the assembled codes and address next to it.
X
XIt also allows outputting of label files, in a format which can be
Xincluded by other assembler source files.
X
XOther noteworthy features are complete calculation capabilities,
Xconditional assembling of parts of the code, and inclusion of other
Xsource files.
X
XThe assembler was written with the MSX computer in mind as the target
Xplatform, but it can be used for any system with a Z80 in it. The
Xoriginal idea was to make header files with labels of MSX specific
Xaddresses (BIOS, BDOS, system variables), but nothing like this has been
Xdone yet.
X
XWWW: http://savannah.nongnu.org/projects/z80asm/
END-of-/usr/ports/devel/z80asm/pkg-descr
echo c - /usr/ports/devel/z80asm/files
mkdir -p /usr/ports/devel/z80asm/files > /dev/null 2>&1
echo x - /usr/ports/devel/z80asm/files/patch-Makefile
sed 's/^X//' >/usr/ports/devel/z80asm/files/patch-Makefile << 'END-of-/usr/ports/devel/z80asm/files/patch-Makefile'
X--- Makefile	2007-12-29 18:53:32.000000000 -0800
X+++ Makefile-mod	2007-12-29 18:53:14.000000000 -0800
X@@ -16,9 +16,9 @@
X # You should have received a copy of the GNU General Public License
X # along with this program.  If not, see <http://www.gnu.org/licenses/>.
X 
X-CC = gcc
X-CFLAGS = -O0 -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -pedantic -ansi -Wshadow -ggdb3 -W -Ignulib
X-SHELL = /bin/bash
X+CC?= gcc
X+CFLAGS+= -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -pedantic -ansi -Wshadow -ggdb3 -W -Ignulib
X+SHELL = /bin/sh
X VERSION ?= $(shell echo -n `cat VERSION | cut -d. -f1`. ; echo $$[`cat VERSION | cut -d. -f2` + 1])
X 
X all:z80asm
END-of-/usr/ports/devel/z80asm/files/patch-Makefile
echo x - /usr/ports/devel/z80asm/pkg-plist
sed 's/^X//' >/usr/ports/devel/z80asm/pkg-plist << 'END-of-/usr/ports/devel/z80asm/pkg-plist'
Xbin/z80asm
X%%PORTDOCS%%%%EXAMPLESDIR%%/hello.asm
X%%PORTDOCS%%%%EXAMPLESDIR%%/macro.asm
X%%PORTDOCS%%%%EXAMPLESDIR%%/msx-bios.asm
X%%PORTDOCS%%%%EXAMPLESDIR%%/msx2+-bios.asm
X%%PORTDOCS%%%%EXAMPLESDIR%%/msx2-bios.asm
X%%PORTDOCS%%%%EXAMPLESDIR%%/msx2-subrom.asm
X%%PORTDOCS%%%%EXAMPLESDIR%%/msxturbor-bios.asm
X%%PORTDOCS%%%%EXAMPLESDIR%%/seek.asm
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
END-of-/usr/ports/devel/z80asm/pkg-plist
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list