openbsd-ports/emulators/simh/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.24 2002/05/06 06:17:02 form Exp $
# $NetBSD: Makefile,v 1.2 1998/08/23 20:48:03 frueauf Exp $
2002-02-04 00:10:29 -05:00
COMMENT= "PDP, IBM 1401, Nova and other CPUs simulator"
2001-03-29 05:05:39 -05:00
2002-05-06 00:09:52 -04:00
DISTNAME= simh-2.9.9
2002-02-04 00:10:29 -05:00
CATEGORIES= emulators
2002-03-21 15:46:23 -05:00
NEED_VERSION= 1.515
MASTER_SITES= http://simh.trailing-edge.com/sources/
2002-05-06 00:09:52 -04:00
DISTFILES= simhv29-9.zip
2002-02-04 00:10:29 -05:00
HOMEPAGE= http://simh.trailing-edge.com/
2002-02-04 00:10:29 -05:00
MAINTAINER= Oleg Safiullin <form@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
2000-03-16 17:26:18 -05:00
PERMIT_PACKAGE_FTP= Yes
2002-02-04 00:10:29 -05:00
PERMIT_DISTFILES_CDROM= Yes
2000-03-16 17:26:18 -05:00
PERMIT_DISTFILES_FTP= Yes
2002-02-04 00:10:29 -05:00
WRKDIST= ${WRKDIR}
UNZIP= unzip -a
2002-03-26 02:37:21 -05:00
COPTS= -DUSE_SOCKLEN_T
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
COPTS+= -O0
.endif
2002-02-04 05:56:39 -05:00
SIMS= altair altairz80 eclipse h316 hp2100 i1401 nova pdp1 \
pdp10 pdp11 pdp15 pdp4 pdp7 pdp8 pdp9 s3 vax
pre-build:
@mkdir ${WRKDIST}/BIN
2000-01-26 08:52:39 -05:00
do-install:
2002-02-04 00:10:29 -05:00
.for f in ${SIMS}
${INSTALL_PROGRAM} ${WRKBUILD}/BIN/${f} ${PREFIX}/bin/simh-${f}
2000-01-26 08:52:39 -05:00
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/lib/simh
${INSTALL_DATA_DIR} ${PREFIX}/share/lib/simh/vax
${INSTALL_DATA} ${WRKDIST}/VAX/ka655.bin ${PREFIX}/share/lib/simh/vax
2000-01-26 08:52:39 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/simh
2002-02-04 00:10:29 -05:00
${INSTALL_DATA} ${WRKBUILD}/*.txt ${WRKBUILD}/*/*.txt \
${PREFIX}/share/doc/simh
2000-01-26 08:52:39 -05:00
.include <bsd.port.mk>