1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Add staging support

- Define DOCS option
- Correct typo in pkg-descr
This commit is contained in:
Pawel Pekala 2014-04-10 08:29:18 +00:00
parent 30795292b1
commit f9e17269c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350786
2 changed files with 11 additions and 15 deletions

View File

@ -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>

View File

@ -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