mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
0fed778c7f
- Fix conflict with java/eclipse, as reported by Robert A. Getschmann, by installing sim-eclipse instead of eclipse. [1] - pkg-message --> files/pkg-message and associated changes. [2] - pet portlint [2] PR: 99095 Submitted by: maintainer [1], itetcu (me) [2]
71 lines
1.7 KiB
Makefile
71 lines
1.7 KiB
Makefile
# New ports collection makefile for: sim
|
|
# Date created: 7 November 1997
|
|
# Whom: jraynard
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sim
|
|
PORTVERSION= 3.6.0
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://simh.trailing-edge.com/sources/
|
|
DISTNAME= ${PORTNAME}hv36-0
|
|
|
|
MAINTAINER= mmendez@energyhq.be
|
|
COMMENT= Emulates classic DEC, HP, GRI, IBM, Altair, SDS, Honeywell, and others
|
|
|
|
USE_ZIP= yes
|
|
EXTRACT_BEFORE_ARGS= -qoa
|
|
USE_GMAKE= yes
|
|
RESTRICTED= Non-commercial use only
|
|
MAKEFILE= makefile
|
|
NO_WRKSUBDIR= yes
|
|
|
|
OPTIONS= NETWORK "Enable Sim_Ether module (and ports libpcap)" on
|
|
|
|
BIN_FILES= altair h316 ibm1130 nova pdp15 pdp9 vax780 \
|
|
altairz80 hp2100 id16 pdp1 pdp4 s3 \
|
|
i1401 id32 pdp10 pdp7 sds \
|
|
gri i1620 lgp pdp11 pdp8 vax
|
|
|
|
PORTDOCS= 0readme_36.txt 0readme_ethernet.txt
|
|
|
|
PLIST_FILES= ${BIN_FILES:S/^/bin\//g} %%DATADIR%%/ka655x.bin bin/sim-eclipse
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# XXX How do we know that libpcap.a is really the correct >0.9.x version?!
|
|
.if defined (WITH_NETWORK)
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
MAKE_ENV= USE_NETWORK=1
|
|
.endif
|
|
|
|
pre-patch:
|
|
@${MKDIR} ${WRKSRC}/BIN
|
|
|
|
do-install:
|
|
.for file in ${BIN_FILES}
|
|
${INSTALL_PROGRAM} ${WRKDIR}/BIN/${file} ${PREFIX}/bin
|
|
.endfor
|
|
# eclipse conflicts with java/eclipse, install it as sim-eclipse
|
|
${INSTALL_PROGRAM} ${WRKDIR}/BIN/eclipse ${PREFIX}/bin/sim-eclipse
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKDIR}/VAX/ka655x.bin ${DATADIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@for i in ${PORTDOCS}; do\
|
|
${INSTALL_DATA} ${WRKDIR}/$$i ${DOCSDIR}; \
|
|
done
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|