mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
e2918f7ca4
- It's .if(NOPORTEXAMPLES) not .if(NOEXAMPLES) - Bump PORTREVISION Reported by: araujo via mail
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# New ports collection makefile for: z80asm
|
|
# Date created: 29 Dec 2007
|
|
# Whom: Sean McLaughlin <sigma.zx@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= z80asm
|
|
PORTVERSION= 1.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://download.savannah.nongnu.org/releases/z80asm/
|
|
|
|
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
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${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}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|