diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-10 16:29:18 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-10 16:29:18 +0800 |
commit | 1dc5be30aa5e05f3659fc41f57244fce711f7d3a (patch) | |
tree | fd9be8746ef9da92bc12fdad2f6dfb3b076d2a79 /emulators/simh | |
parent | cc8a5bdd5d32c2716d606865cdeeca8e4efd8d59 (diff) | |
download | freebsd-ports-gnome-1dc5be30aa5e05f3659fc41f57244fce711f7d3a.tar.gz freebsd-ports-gnome-1dc5be30aa5e05f3659fc41f57244fce711f7d3a.tar.zst freebsd-ports-gnome-1dc5be30aa5e05f3659fc41f57244fce711f7d3a.zip |
- Add staging support
- Define DOCS option
- Correct typo in pkg-descr
Diffstat (limited to 'emulators/simh')
-rw-r--r-- | emulators/simh/Makefile | 24 | ||||
-rw-r--r-- | emulators/simh/pkg-descr | 2 |
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 |