blob: 8c9c4c187d93e0cf9b9a0136f8ef904ea4597649 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.10 2002/11/28 12:00:26 agc Exp $
#
DISTNAME= simhv210-0b2
PKGNAME= simh-2.10.0b2
PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/
EXTRACT_SUFX= .zip
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
xq_beta5${EXTRACT_SUFX}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://simh.trailing-edge.com/
COMMENT= Bob Supnik's historical computer simulator
WRKSRC= ${WRKDIR}
EXTRACT_CMD= unzip -aoq ${DOWNLOADED_DISTFILE}
post-extract:
${MKDIR} ${WRKSRC}/BIN
${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
${MV} ${WRKSRC}/AltairZ80/altairZ80_defs.h \
${WRKSRC}/AltairZ80/altairz80_defs.h
do-install:
(cd ${WRKSRC}/BIN && for BIN in *; do \
${INSTALL_PROGRAM} $$BIN ${PREFIX}/bin/simh-$$BIN; \
done)
${INSTALL_DATA_DIR} ${PREFIX}/share/simh
${INSTALL_DATA} ${WRKSRC}/VAX/ka655.bin ${PREFIX}/share/simh
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/simh
(cd ${WRKSRC} && for TXT in *.txt */*.txt; do \
${INSTALL_DATA} $$TXT ${PREFIX}/share/doc/simh; \
done)
.include "../../mk/bsd.pkg.mk"
|