openbsd-ports/emulators/simh/Makefile
fgsch 7bd2321285 update to 3.7.3. patch to enable "set cpu idle" from
Oleg Safiullin <form at pdp-11 dot org dot ru>. kurt@ ok
2007-09-23 02:27:39 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.60 2007/09/23 02:27:39 fgsch 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-3.7.3
PKGNAME= ${DISTNAME}
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/
DISTFILES= simhv37-3.zip
HOMEPAGE= http://simh.trailing-edge.com/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m pcap
WRKDIST= ${WRKDIR}
UNZIP= unzip -a -o
COPTS+= -DPATH_KA655X_BIN=\"${PREFIX}/lib/simh/vax/ka655x.bin\" \
-DPATH_VMB_EXE=\"${PREFIX}/lib/simh/vax/vmb.exe\"
MAKE_FILE= makefile
NO_REGRESS= Yes
VMEM_WARNING= Yes
pre-build:
@mkdir -p ${WRKBUILD}/BIN
do-install:
@cd ${WRKBUILD}/BIN && for f in `echo *`; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin/simh-$${f}; \
done;
${INSTALL_DATA_DIR} ${PREFIX}/lib/simh/vax
${INSTALL_DATA} ${WRKDIST}/VAX/ka655x.bin ${PREFIX}/lib/simh/vax
${INSTALL_DATA} ${WRKDIST}/VAX/vmb.exe ${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>