openbsd-ports/emulators/simh/Makefile

52 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.34 2003/02/02 20:19:56 fgsch 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
VER= 2.10-2
DISTNAME= simh-${VER}
2002-02-04 00:10:29 -05:00
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/
DISTFILES= simhv${VER:S/.//}.zip
2002-02-04 00:10:29 -05:00
HOMEPAGE= http://simh.trailing-edge.com/
2002-02-04 00:10:29 -05:00
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 -o
2002-03-26 02:37:21 -05:00
COPTS= -DUSE_SOCKLEN_T
MAKE_FILE= makefile
2002-03-26 02:37:21 -05:00
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
COPTS+= -O0
.endif
2002-10-26 08:52:48 -04:00
NO_REGRESS= Yes
2002-11-28 12:02:12 -05:00
SIMS= altair altairz80 eclipse gri h316 hp2100 i1401 i1620 \
ibm1130 id16 id32 nova pdp1 pdp10 pdp11 pdp15 pdp4 \
pdp7 pdp8 pdp9 s3 sds vax
VMEM_WARNING= Yes
pre-build:
@mkdir ${WRKBUILD}/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
2002-05-06 02:23:08 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/lib/simh/vax
2002-05-06 02:27:53 -04:00
${INSTALL_DATA} ${WRKDIST}/VAX/ka655.bin ${PREFIX}/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>