openbsd-ports/emulators/simh/Makefile

40 lines
1.0 KiB
Makefile
Raw Normal View History

2002-03-07 00:19:35 -05:00
# $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 $
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-03-07 00:19:35 -05:00
DISTNAME= simh-2.9.2
2002-02-04 00:10:29 -05:00
CATEGORIES= emulators
2002-03-07 00:19:35 -05:00
MASTER_SITES= ftp://ftp.openbsd.ru/pub/PDP-11/Emulators/SIMH/2.9.2/ \
2002-02-04 05:56:39 -05:00
http://simh.trailing-edge.com/sources/
DISTFILES= simhv29.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}
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
2002-02-04 00:10:29 -05:00
post-extract:
2002-02-04 05:56:39 -05:00
@cd ${WRKDIST} && mkdir BIN && \
2002-02-04 00:10:29 -05:00
find . -type f -exec \
sh -c 'tr -d \\015 < {} > {}.TMP && mv -f {}.TMP {}' \;
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/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>