From owner-svn-ports-all@freebsd.org Sun Jan 31 21:46:21 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 805F0A74770; Sun, 31 Jan 2016 21:46:21 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 351A59A; Sun, 31 Jan 2016 21:46:21 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0VLkKqq010164; Sun, 31 Jan 2016 21:46:20 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0VLkKH4010162; Sun, 31 Jan 2016 21:46:20 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201601312146.u0VLkKH4010162@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 31 Jan 2016 21:46:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407668 - head/emulators/simh X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2016 21:46:21 -0000 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