2012-10-27 19:58:41 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.75 2012/10/27 23:58:41 okan Exp $
|
1998-11-12 08:13:09 -05:00
|
|
|
|
2007-09-15 20:45:13 -04:00
|
|
|
COMMENT= PDP, IBM 1401, Nova and other CPUs simulator
|
2001-03-29 05:05:39 -05:00
|
|
|
|
2012-07-09 20:07:44 -04:00
|
|
|
DISTNAME= simhv39-0
|
|
|
|
PKGNAME= simh-3.9.0
|
2012-10-27 19:58:41 -04:00
|
|
|
REVISION= 1
|
2002-02-04 00:10:29 -05:00
|
|
|
CATEGORIES= emulators
|
2010-03-21 05:26:49 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/sources/
|
2012-07-09 20:07:44 -04:00
|
|
|
EXTRACT_SUFX= .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
|
|
|
|
2010-03-21 05:26:49 -04:00
|
|
|
# MIT
|
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
|
2010-10-23 18:01:29 -04:00
|
|
|
|
2012-07-09 20:07:44 -04:00
|
|
|
WANTLIB= c m pcap pthread
|
2000-03-16 17:26:18 -05:00
|
|
|
|
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
|
|
|
|
2012-07-09 20:07:44 -04:00
|
|
|
CFLAGS+= -DPATH_KA655X_BIN=\"${PREFIX}/lib/simh/vax/ka655x.bin\" \
|
|
|
|
-DPATH_VMB_EXE=\"${PREFIX}/lib/simh/vax/vmb.exe\"
|
2006-07-10 13:55:44 -04:00
|
|
|
|
2012-07-09 20:07:44 -04:00
|
|
|
USE_GMAKE= Yes
|
2003-02-02 15:19:56 -05:00
|
|
|
MAKE_FILE= makefile
|
2012-07-09 20:07:44 -04:00
|
|
|
MAKE_FLAGS= GCC="${CC}" USE_NETWORK=1
|
2002-03-26 02:37:21 -05:00
|
|
|
|
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:
|
2004-04-08 02:25:17 -04:00
|
|
|
@mkdir -p ${WRKBUILD}/BIN
|
1998-11-12 08:13:09 -05:00
|
|
|
|
2000-01-26 08:52:39 -05:00
|
|
|
do-install:
|
2012-07-09 20:07:44 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/simh/vax
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/simh
|
2003-02-03 03:20:19 -05:00
|
|
|
@cd ${WRKBUILD}/BIN && for f in `echo *`; do \
|
2003-02-03 03:34:32 -05:00
|
|
|
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin/simh-$${f}; \
|
2003-02-03 03:20:19 -05:00
|
|
|
done;
|
2005-06-18 23:47:25 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/VAX/ka655x.bin ${PREFIX}/lib/simh/vax
|
2006-07-10 13:55:44 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/VAX/vmb.exe ${PREFIX}/lib/simh/vax
|
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>
|