Date: Sun, 31 Jan 2016 21:46:20 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407668 - head/emulators/simh Message-ID: <201601312146.u0VLkKH4010162@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Jan 31 21:46:19 2016 New Revision: 407668 URL: https://svnweb.freebsd.org/changeset/ports/407668 Log: - Switch to options helpers - Simplift plist handling Added: head/emulators/simh/pkg-plist (contents, props changed) Modified: head/emulators/simh/Makefile Modified: head/emulators/simh/Makefile ============================================================================== --- head/emulators/simh/Makefile Sun Jan 31 21:46:15 2016 (r407667) +++ head/emulators/simh/Makefile Sun Jan 31 21:46:19 2016 (r407668) @@ -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}) Added: head/emulators/simh/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/simh/pkg-plist Sun Jan 31 21:46:19 2016 (r407668) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601312146.u0VLkKH4010162>