1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- s/INSTALL_MAN/INSTALL_DATA/ for example files

- It's .if(NOPORTEXAMPLES) not .if(NOEXAMPLES)
- Bump PORTREVISION

Reported by:	    araujo via mail
This commit is contained in:
Lars Engels 2007-12-31 22:24:02 +00:00
parent 7c579589e3
commit e2918f7ca4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204782

View File

@ -7,6 +7,7 @@
PORTNAME= z80asm
PORTVERSION= 1.6
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://download.savannah.nongnu.org/releases/z80asm/
@ -17,23 +18,22 @@ USE_GMAKE= yes
MAN1= z80asm.1
post-patch:
${ECHO} ${PATCHDIR}
@${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(NOEXAMPLES)
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_MAN} -m 444 ${WRKSRC}/examples/hello.asm ${EXAMPLESDIR}
${INSTALL_MAN} -m 444 ${WRKSRC}/examples/macro.asm ${EXAMPLESDIR}
${INSTALL_MAN} -m 444 ${WRKSRC}/examples/seek.asm ${EXAMPLESDIR}
${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msx-bios.asm ${EXAMPLESDIR}
${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msx2+-bios.asm ${EXAMPLESDIR}
${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msx2-bios.asm ${EXAMPLESDIR}
${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msx2-subrom.asm ${EXAMPLESDIR}
${INSTALL_MAN} -m 444 ${WRKSRC}/headers/msxturbor-bios.asm ${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>