1997-11-08 21:33:01 +01:00
|
|
|
# New ports collection makefile for: sim
|
|
|
|
# Date created: 7 November 1997
|
|
|
|
# Whom: jraynard
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-11-08 21:33:01 +01:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:56:17 +02:00
|
|
|
PORTNAME= sim
|
2003-02-08 02:31:12 +01:00
|
|
|
PORTVERSION= 2.10.1
|
1997-11-08 21:33:01 +01:00
|
|
|
CATEGORIES= emulators
|
2002-01-27 18:39:30 +01:00
|
|
|
MASTER_SITES= http://simh.trailing-edge.com/sources/ \
|
2000-06-16 00:29:34 +02:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR=jedgar
|
2003-02-08 02:31:12 +01:00
|
|
|
DISTNAME= ${PORTNAME}hv210-1
|
1999-12-22 23:14:11 +01:00
|
|
|
|
|
|
|
MAINTAINER= jedgar@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= PDP-8, PDP-11, PDP-1, other 18b PDP, Nova, and IBM 1401 simulators
|
1997-11-08 21:33:01 +01:00
|
|
|
|
2002-01-27 18:39:30 +01:00
|
|
|
USE_ZIP= yes
|
2003-02-08 02:31:12 +01:00
|
|
|
USE_GMAKE= yes
|
1997-11-08 21:33:01 +01:00
|
|
|
RESTRICTED= "Non-commercial use only"
|
2003-02-08 02:31:12 +01:00
|
|
|
MAKEFILE= makefile
|
1997-11-08 21:33:01 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2002-01-27 18:39:30 +01:00
|
|
|
SHELL=${SH}
|
|
|
|
|
2003-02-08 02:31:12 +01:00
|
|
|
BIN_FILES= altair h316 ibm1130 pdp11 pdp8 \
|
|
|
|
altairz80 hp2100 nova pdp15 pdp9 \
|
|
|
|
eclipse i1401 pdp1 pdp4 s3 \
|
|
|
|
gri i1620 pdp10 pdp7 vax \
|
2002-03-04 14:29:01 +01:00
|
|
|
|
2002-05-22 20:02:28 +02:00
|
|
|
pre-patch:
|
2002-01-27 18:39:30 +01:00
|
|
|
@${MKDIR} ${WRKSRC}/BIN
|
2003-11-13 15:45:08 +01:00
|
|
|
@for i in ${WRKSRC}/makefile `${FIND} ${WRKSRC} -name "*.[hc]"`; do \
|
2003-02-08 02:31:12 +01:00
|
|
|
${CAT} $$i | ${TR} -d '\r' > $$i.new; \
|
|
|
|
${MV} $$i.new $$i; \
|
2002-01-27 18:39:30 +01:00
|
|
|
done
|
1997-11-08 21:33:01 +01:00
|
|
|
|
|
|
|
do-install:
|
2002-03-04 14:29:01 +01:00
|
|
|
.for file in ${BIN_FILES}
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/BIN/${file} ${PREFIX}/bin
|
|
|
|
.endfor
|
2003-02-08 02:31:12 +01:00
|
|
|
|
|
|
|
@${MKDIR} ${PREFIX}/share/sim
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/VAX/ka655.bin ${PREFIX}/share/sim
|
|
|
|
|
1997-11-16 03:14:26 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-03-04 14:29:01 +01:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/sim
|
2003-02-08 02:31:12 +01:00
|
|
|
@for i in 0readme_210.txt 0readme_ethernet.txt \
|
|
|
|
simh_doc.txt simh_swre.txt; do \
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/$$i ${PREFIX}/share/doc/sim; \
|
|
|
|
done
|
1997-11-16 03:14:26 +01:00
|
|
|
.endif
|
1997-11-08 21:33:01 +01:00
|
|
|
|
2003-02-08 02:31:12 +01:00
|
|
|
post-install:
|
|
|
|
@${CAT} pkg-message
|
|
|
|
|
1997-11-08 21:33:01 +01:00
|
|
|
.include <bsd.port.mk>
|