diff options
Diffstat (limited to 'emulators/sim/Makefile')
-rw-r--r-- | emulators/sim/Makefile | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/emulators/sim/Makefile b/emulators/sim/Makefile index b29895b71b5c..97769ac27561 100644 --- a/emulators/sim/Makefile +++ b/emulators/sim/Makefile @@ -6,32 +6,38 @@ # PORTNAME= sim -PORTVERSION= 2.3d +PORTVERSION= 2.9 CATEGORIES= emulators -MASTER_SITES= ftp://minnie.tuhs.org/pub/PDP-11/Sims/Supnik_2.3/sources/ \ +MASTER_SITES= http://simh.trailing-edge.com/sources/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR=jedgar -DISTNAME= ${PORTNAME}_${PORTVERSION} +DISTNAME= ${PORTNAME}hv29 MAINTAINER= jedgar@FreeBSD.org +USE_ZIP= yes RESTRICTED= "Non-commercial use only" - +MAKEFILE= ${FILESDIR}/Makefile NO_WRKSUBDIR= yes +SHELL=${SH} + post-configure: - @${CP} ${FILESDIR}/Makefile ${WRKSRC} + @${MKDIR} ${WRKSRC}/BIN + @for i in `find . -name "*.[hc]"`; \ + do \ + ${PERL} -pi -e 's@\r@@g' $$i ;\ + done 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 + ${INSTALL_PROGRAM} ${WRKDIR}/BIN/nova ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/BIN/pdp1 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/BIN/pdp4 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/BIN/pdp7 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/BIN/pdp8 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/BIN/pdp9 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/BIN/pdp11 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/BIN/pdp15 ${PREFIX}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/sim && ${INSTALL_DATA} ${WRKDIR}/simh_doc.txt \ ${PREFIX}/share/doc/sim |