summaryrefslogtreecommitdiff
path: root/emulators/sim/Makefile
blob: 7622b876ced6abcabb0694af969a45acdc552e60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    sim
# Date created:         7 November 1997
# Whom:			jraynard
#
# $FreeBSD$
#

PORTNAME=	sim
PORTVERSION=	2.3d
CATEGORIES=	emulators
MASTER_SITES=	ftp://minnie.cs.adfa.oz.au/pub/PDP-11/Sims/Supnik_2.3/sources/ \
		ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/jedgar/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	jedgar@FreeBSD.org

RESTRICTED=	"Non-commercial use only"

NO_WRKSUBDIR=	yes

post-configure:
	@${CP} ${FILESDIR}/Makefile ${WRKSRC}

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/i1401 ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKDIR}/nova ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKDIR}/pdp1 ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKDIR}/pdp4 ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKDIR}/pdp7 ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKDIR}/pdp8 ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKDIR}/pdp9 ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKDIR}/pdp11 ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKDIR}/pdp15 ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/sim && ${INSTALL_DATA} ${WRKDIR}/simh_doc.txt \
		${PREFIX}/share/doc/sim
.endif

.include <bsd.port.mk>