aboutsummaryrefslogtreecommitdiff
path: root/emulators/simh
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-10 08:29:18 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-10 08:29:18 +0000
commitf9e17269c9bc0739cbc536363d5fbcc07c1ba700 (patch)
treefd9be8746ef9da92bc12fdad2f6dfb3b076d2a79 /emulators/simh
parent30795292b1b19f5279ddb7eb7d32e25779060d4a (diff)
downloadports-f9e17269c9bc0739cbc536363d5fbcc07c1ba700.tar.gz
ports-f9e17269c9bc0739cbc536363d5fbcc07c1ba700.zip
Notes
Diffstat (limited to 'emulators/simh')
-rw-r--r--emulators/simh/Makefile24
-rw-r--r--emulators/simh/pkg-descr2
2 files changed, 11 insertions, 15 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile
index 275ebd56ba53..a822fa82ba75 100644
--- a/emulators/simh/Makefile
+++ b/emulators/simh/Makefile
@@ -27,7 +27,8 @@ PORTDOCS= 0readme_${PORTVERSION:R:S/.//}.txt 0readme_ethernet.txt
PLIST_FILES= ${BIN_FILES:S/^/bin\//g} bin/simh-eclipse %%DATADIR%%/ka655x.bin
PLIST_DIRS= %%DATADIR%%
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
pre-patch:
@${MKDIR} ${WRKSRC}/BIN
@@ -40,19 +41,14 @@ post-patch:
's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/VAX/vax_sysdev.c
do-install:
-.for file in ${BIN_FILES}
- ${INSTALL_PROGRAM} ${WRKDIR}/BIN/${file} ${PREFIX}/bin
-.endfor
+ (cd ${WRKDIR}/BIN && ${INSTALL_PROGRAM} ${BIN_FILES} \
+ ${STAGEDIR}${PREFIX}/bin)
# eclipse conflicts with java/eclipse, install it as simh-eclipse
- ${INSTALL_PROGRAM} ${WRKDIR}/BIN/eclipse ${PREFIX}/bin/simh-eclipse
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKDIR}/VAX/ka655x.bin ${DATADIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKDIR}/${file} ${DOCSDIR}
-.endfor
-.endif
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_PROGRAM} ${WRKDIR}/BIN/eclipse \
+ ${STAGEDIR}${PREFIX}/bin/simh-eclipse
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKDIR}/VAX/ka655x.bin ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKDIR} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/emulators/simh/pkg-descr b/emulators/simh/pkg-descr
index aa02c46eea00..cef1568d2d79 100644
--- a/emulators/simh/pkg-descr
+++ b/emulators/simh/pkg-descr
@@ -1,4 +1,4 @@
-SIMH is a higly portable, multi-system simulator.
+SIMH is a highly portable, multi-system simulator.
SIMH implements simulators for:
- Data General Nova, Eclipse