summaryrefslogtreecommitdiff
path: root/emulators/sim/Makefile
blob: 9ad71302ae0d2db7a519448270c01594d992e1e8 (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
40
41
42
43
44
# New ports collection makefile for:    sim
# Date created:         7 November 1997
# Whom:			jraynard
#
# $FreeBSD$
#

PORTNAME=	sim
PORTVERSION=	2.9.1
CATEGORIES=	emulators
MASTER_SITES=	http://simh.trailing-edge.com/sources/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=jedgar
DISTNAME=	${PORTNAME}hv29

MAINTAINER=	jedgar@FreeBSD.org

USE_ZIP=	yes
RESTRICTED=	"Non-commercial use only"
MAKEFILE=	${FILESDIR}/Makefile
NO_WRKSUBDIR=	yes

SHELL=${SH}

BIN_FILES=	altair eclipse h316 nova pdp1 pdp10 pdp11 pdp15 pdp4 pdp7 pdp8 \
		pdp9 s3

post-configure:
	@${MKDIR} ${WRKSRC}/BIN
	@for i in `find . -name "*.[hc]"`; \
	do \
		${PERL} -pi -e 's@\r@@g' $$i ;\
	done

do-install:
.for file in ${BIN_FILES}
	${INSTALL_PROGRAM} ${WRKDIR}/BIN/${file} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/sim
	@${INSTALL_DATA} ${WRKDIR}/simh_doc.txt ${PREFIX}/share/doc/sim
.endif

.include <bsd.port.mk>