summaryrefslogtreecommitdiff
path: root/emulators/spim/Makefile
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-26 16:06:22 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-26 16:06:22 +0000
commitbd0d20b2bc18071f0904d56793c042481ac17bed (patch)
treef3b7732e68cd86cd52873f188bf863c6f59c6be5 /emulators/spim/Makefile
parent- Add rubygem-sshkit 1.1.0 (diff)
- Add stage support
Notes
Notes: svn path=/head/; revision=331708
Diffstat (limited to '')
-rw-r--r--emulators/spim/Makefile33
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>