2003-02-03 03:20:19 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.35 2003/02/03 08:20:19 fgsch Exp $
|
1999-04-01 01:20:02 -05:00
|
|
|
# $NetBSD: Makefile,v 1.2 1998/08/23 20:48:03 frueauf Exp $
|
1998-11-12 08:13:09 -05:00
|
|
|
|
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
|
|
|
|
2003-02-02 15:19:56 -05:00
|
|
|
VER= 2.10-2
|
|
|
|
DISTNAME= simh-${VER}
|
2002-02-04 00:10:29 -05:00
|
|
|
CATEGORIES= emulators
|
2002-03-26 03:20:19 -05:00
|
|
|
MASTER_SITES= http://simh.trailing-edge.com/sources/
|
2003-02-02 15:19:56 -05:00
|
|
|
DISTFILES= simhv${VER:S/.//}.zip
|
1998-11-12 08:13:09 -05:00
|
|
|
|
2002-02-04 00:10:29 -05:00
|
|
|
HOMEPAGE= http://simh.trailing-edge.com/
|
1998-11-12 08:13:09 -05:00
|
|
|
|
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}
|
|
|
|
|
2002-10-29 18:55:01 -05:00
|
|
|
UNZIP= unzip -a -o
|
2002-03-26 03:20:19 -05:00
|
|
|
|
2002-03-26 02:37:21 -05:00
|
|
|
COPTS= -DUSE_SOCKLEN_T
|
2003-02-02 15:19:56 -05:00
|
|
|
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-10-29 18:55:01 -05:00
|
|
|
VMEM_WARNING= Yes
|
|
|
|
|
2002-03-26 03:20:19 -05:00
|
|
|
pre-build:
|
2002-10-29 18:55:01 -05:00
|
|
|
@mkdir ${WRKBUILD}/BIN
|
1998-11-12 08:13:09 -05:00
|
|
|
|
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
|
|
|
|
1998-11-12 08:13:09 -05:00
|
|
|
.include <bsd.port.mk>
|