From c3b5bcc5ebd5af576c86c4c0d8e3754a2fe53443 Mon Sep 17 00:00:00 2001 From: danilo Date: Sat, 26 Oct 2013 16:06:22 +0000 Subject: - Add stage support --- emulators/spim/Makefile | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/emulators/spim/Makefile b/emulators/spim/Makefile index 16c61edd47f3..c2feba95e1ca 100644 --- a/emulators/spim/Makefile +++ b/emulators/spim/Makefile @@ -17,20 +17,17 @@ INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME} ALL_TARGET= ${PORTNAME} -MAN1= spim.1 -MANCOMPRESSED= no PORTDOCS= cycle.ps.gz spim.ps.gz SPIM.html -PLIST_FILES= bin/spim %%DATADIR%%/exceptions.s +PLIST_FILES= bin/spim %%DATADIR%%/exceptions.s \ + man/man1/spim.1.gz PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes .include .if ${PORT_OPTIONS:MGUI} USE_XORG= x11 xaw USES+= imake:env -PLIST_FILES+= bin/xspim -MAN1+= xspim.1 +PLIST_FILES+= bin/xspim man/man1/xspim.1.gz .endif post-build: @@ -40,20 +37,18 @@ post-build: .endif do-install: - ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/spim ${PREFIX}/bin/spim - ${INSTALL_MAN} ${WRKSRC}/Documentation/spim.man ${MANPREFIX}/man/man1/spim.1 - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/CPU/exceptions.s ${DATADIR}/exceptions.s + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/spim ${STAGEDIR}${PREFIX}/bin/spim + ${INSTALL_MAN} ${WRKSRC}/Documentation/spim.man ${STAGEDIR}${MANPREFIX}/man/man1/spim.1 + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/CPU/exceptions.s ${STAGEDIR}${DATADIR}/exceptions.s .if ${PORT_OPTIONS:MGUI} - ${INSTALL_PROGRAM} ${WRKSRC}/xspim/xspim ${PREFIX}/bin/xspim - ${INSTALL_MAN} ${WRKSRC}/Documentation/xspim.man ${MANPREFIX}/man/man1/xspim.1 -.endif -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/Documentation/TeX/cycle.ps ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/Documentation/TeX/spim.ps ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/Documentation/SPIM.html ${DOCSDIR} - ${GZIP_CMD} ${DOCSDIR}/cycle.ps ${DOCSDIR}/spim.ps + ${INSTALL_PROGRAM} ${WRKSRC}/xspim/xspim ${STAGEDIR}${PREFIX}/bin/xspim + ${INSTALL_MAN} ${WRKSRC}/Documentation/xspim.man ${STAGEDIR}${MANPREFIX}/man/man1/xspim.1 .endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Documentation/TeX/cycle.ps ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Documentation/TeX/spim.ps ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Documentation/SPIM.html ${STAGEDIR}${DOCSDIR} + ${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/cycle.ps ${STAGEDIR}${DOCSDIR}/spim.ps .include -- cgit