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