# $OpenBSD: Makefile,v 1.16 2002/03/07 05:19:35 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.2 CATEGORIES= emulators MASTER_SITES= ftp://ftp.openbsd.ru/pub/PDP-11/Emulators/SIMH/2.9.2/ \ http://simh.trailing-edge.com/sources/ DISTFILES= simhv29.zip HOMEPAGE= http://simh.trailing-edge.com/ MAINTAINER= Oleg Safiullin PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WRKDIST= ${WRKDIR} SIMS= altair altairz80 eclipse h316 hp2100 i1401 nova pdp1 \ pdp10 pdp11 pdp15 pdp4 pdp7 pdp8 pdp9 s3 post-extract: @cd ${WRKDIST} && mkdir BIN && \ find . -type f -exec \ sh -c 'tr -d \\015 < {} > {}.TMP && mv -f {}.TMP {}' \; do-install: .for f in ${SIMS} ${INSTALL_PROGRAM} ${WRKBUILD}/BIN/${f} ${PREFIX}/bin/simh-${f} .endfor ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/simh ${INSTALL_DATA} ${WRKBUILD}/*.txt ${WRKBUILD}/*/*.txt \ ${PREFIX}/share/doc/simh .include