Date: Thu, 10 Apr 2014 08:29:19 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350786 - head/emulators/simh Message-ID: <201404100829.s3A8TJpv022491@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Thu Apr 10 08:29:18 2014 New Revision: 350786 URL: http://svnweb.freebsd.org/changeset/ports/350786 QAT: https://qat.redports.org/buildarchive/r350786/ Log: - Add staging support - Define DOCS option - Correct typo in pkg-descr Modified: head/emulators/simh/Makefile head/emulators/simh/pkg-descr Modified: head/emulators/simh/Makefile ============================================================================== --- head/emulators/simh/Makefile Thu Apr 10 07:47:18 2014 (r350785) +++ head/emulators/simh/Makefile Thu Apr 10 08:29:18 2014 (r350786) @@ -27,7 +27,8 @@ PORTDOCS= 0readme_${PORTVERSION:R:S/.//} 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> Modified: head/emulators/simh/pkg-descr ============================================================================== --- head/emulators/simh/pkg-descr Thu Apr 10 07:47:18 2014 (r350785) +++ head/emulators/simh/pkg-descr Thu Apr 10 08:29:18 2014 (r350786) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404100829.s3A8TJpv022491>