diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-01-31 21:46:19 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-01-31 21:46:19 +0000 |
commit | c53fb64def63031276e963992db9934361cb9d92 (patch) | |
tree | 5ccb0885441ffcecca4f8b82840bb5dfd1675c30 /emulators/simh | |
parent | 31f98d55c4767c5f726efe0cf1f961a5d5f31e3e (diff) | |
download | ports-c53fb64def63031276e963992db9934361cb9d92.tar.gz ports-c53fb64def63031276e963992db9934361cb9d92.zip |
Notes
Diffstat (limited to 'emulators/simh')
-rw-r--r-- | emulators/simh/Makefile | 17 | ||||
-rw-r--r-- | emulators/simh/pkg-plist | 29 |
2 files changed, 36 insertions, 10 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile index fb22cb03877f..e44b774a3157 100644 --- a/emulators/simh/Makefile +++ b/emulators/simh/Makefile @@ -19,12 +19,7 @@ MAKEFILE= makefile SUB_FILES= pkg-message -BIN_FILES= altair altairz80 gri h316 hp2100 i1401 i1620 i7094 ibm1130 \ - id16 id32 lgp nova pdp1 pdp10 pdp11 pdp15 pdp4 pdp7 pdp8 pdp9 \ - s3 sds swtp6800mp-a swtp6800mp-a2 vax vax780 - PORTDOCS= 0readme_${PORTVERSION:R:S/.//}.txt 0readme_ethernet.txt -PLIST_FILES= ${BIN_FILES:S/^/bin\//g} bin/simh-eclipse %%DATADIR%%/ka655x.bin OPTIONS_DEFINE= DOCS @@ -38,14 +33,16 @@ post-patch: @${REINPLACE_CMD} -e \ 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/VAX/vax_sysdev.c -do-install: - (cd ${WRKSRC}/BIN && ${INSTALL_PROGRAM} ${BIN_FILES} \ - ${STAGEDIR}${PREFIX}/bin) +post-build: # eclipse conflicts with java/eclipse, install it as simh-eclipse - ${INSTALL_PROGRAM} ${WRKSRC}/BIN/eclipse \ - ${STAGEDIR}${PREFIX}/bin/simh-eclipse + @${MV} ${WRKSRC}/BIN/eclipse ${WRKSRC}/BIN/simh-eclipse + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/BIN/* ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${STAGEDIR}${DATADIR} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) diff --git a/emulators/simh/pkg-plist b/emulators/simh/pkg-plist new file mode 100644 index 000000000000..2ca5c0e0b15c --- /dev/null +++ b/emulators/simh/pkg-plist @@ -0,0 +1,29 @@ +bin/altair +bin/altairz80 +bin/gri +bin/h316 +bin/hp2100 +bin/i1401 +bin/i1620 +bin/i7094 +bin/ibm1130 +bin/id16 +bin/id32 +bin/lgp +bin/nova +bin/pdp1 +bin/pdp10 +bin/pdp11 +bin/pdp15 +bin/pdp4 +bin/pdp7 +bin/pdp8 +bin/pdp9 +bin/s3 +bin/sds +bin/simh-eclipse +bin/swtp6800mp-a +bin/swtp6800mp-a2 +bin/vax +bin/vax780 +%%DATADIR%%/ka655x.bin |