diff options
author | danilo <danilo@FreeBSD.org> | 2013-10-27 00:06:22 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-10-27 00:06:22 +0800 |
commit | c3b5bcc5ebd5af576c86c4c0d8e3754a2fe53443 (patch) | |
tree | f3b7732e68cd86cd52873f188bf863c6f59c6be5 | |
parent | f467f3f2009f66b05cbfb9d209a7cb31db020ebd (diff) | |
download | freebsd-ports-gnome-c3b5bcc5ebd5af576c86c4c0d8e3754a2fe53443.tar.gz freebsd-ports-gnome-c3b5bcc5ebd5af576c86c4c0d8e3754a2fe53443.tar.zst freebsd-ports-gnome-c3b5bcc5ebd5af576c86c4c0d8e3754a2fe53443.zip |
- Add stage support
-rw-r--r-- | emulators/spim/Makefile | 33 |
1 files 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 <bsd.port.options.mk> .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 <bsd.port.mk> |