2007-12-31 22:30:16 +01:00
|
|
|
# New ports collection makefile for: z80asm
|
|
|
|
# Date created: 29 Dec 2007
|
|
|
|
# Whom: Sean McLaughlin <sigma.zx@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= z80asm
|
2009-08-27 15:15:16 +02:00
|
|
|
PORTVERSION= 1.8
|
2007-12-31 22:30:16 +01:00
|
|
|
CATEGORIES= devel
|
2009-08-27 15:15:16 +02:00
|
|
|
MASTER_SITES= http://nongnu.mirror.ironie.org/releases/${PORTNAME}/ \
|
|
|
|
http://savannah.c3sl.ufpr.br/${PORTNAME}/
|
2007-12-31 22:30:16 +01:00
|
|
|
|
|
|
|
MAINTAINER= sigma.zx@gmail.com
|
|
|
|
COMMENT= Assembler for the Z80 microprcessor
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= z80asm.1
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's#/bin/bash#/bin/sh#' ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/z80asm.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/z80asm ${PREFIX}/bin
|
|
|
|
|
2007-12-31 23:24:02 +01:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2007-12-31 22:30:16 +01:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
2007-12-31 23:24:02 +01:00
|
|
|
${INSTALL_DATA} -m 444 ${WRKSRC}/examples/hello.asm ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} -m 444 ${WRKSRC}/examples/macro.asm ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} -m 444 ${WRKSRC}/examples/seek.asm ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx-bios.asm ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx2+-bios.asm ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx2-bios.asm ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx2-subrom.asm ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msxturbor-bios.asm ${EXAMPLESDIR}
|
2007-12-31 22:30:16 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|