openbsd-ports/emulators/simh/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

2003-02-03 03:20:19 -05:00
# $OpenBSD: Makefile,v 1.35 2003/02/03 08:20:19 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
VMEM_WARNING= Yes
pre-build:
@mkdir ${WRKBUILD}/BIN
2000-01-26 08:52:39 -05:00
do-install:
2003-02-03 03:20:19 -05:00
@cd ${WRKBUILD}/BIN && for f in `echo *`; do \
${INSTALL_PROGRAM} ${WRKBUILD}/BIN/$${f} ${PREFIX}/bin/simh-$${f}; \
done;
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 \
2003-02-03 03:20:19 -05:00
${PREFIX}/share/doc/simh
2000-01-26 08:52:39 -05:00
.include <bsd.port.mk>