openbsd-ports/emulators/simh/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.75 2012/10/27 23:58:41 okan Exp $
COMMENT= PDP, IBM 1401, Nova and other CPUs simulator
2001-03-29 05:05:39 -05:00
DISTNAME= simhv39-0
PKGNAME= simh-3.9.0
REVISION= 1
2002-02-04 00:10:29 -05:00
CATEGORIES= emulators
MASTER_SITES= ${HOMEPAGE}/sources/
EXTRACT_SUFX= .zip
2002-02-04 00:10:29 -05:00
HOMEPAGE= http://simh.trailing-edge.com/
# 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
WANTLIB= c m pcap pthread
2000-03-16 17:26:18 -05:00
2002-02-04 00:10:29 -05:00
WRKDIST= ${WRKDIR}
UNZIP= unzip -a -o
CFLAGS+= -DPATH_KA655X_BIN=\"${PREFIX}/lib/simh/vax/ka655x.bin\" \
-DPATH_VMB_EXE=\"${PREFIX}/lib/simh/vax/vmb.exe\"
USE_GMAKE= Yes
MAKE_FILE= makefile
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
VMEM_WARNING= Yes
pre-build:
2004-04-08 02:25:17 -04:00
@mkdir -p ${WRKBUILD}/BIN
2000-01-26 08:52:39 -05:00
do-install:
${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;
${INSTALL_DATA} ${WRKDIST}/VAX/ka655x.bin ${PREFIX}/lib/simh/vax
${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
.include <bsd.port.mk>