aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-21 13:29:59 +0800
committermiwi <miwi@FreeBSD.org>2014-02-21 13:29:59 +0800
commitbab84c5bf97f41f9feeaaf4e597a2efe191c5c4a (patch)
treeccf69e74955cb04a55ff13e35dc2a07418a9ce18 /science
parent5dbfe4167a1167fe43d21df7a437551b62710fff (diff)
downloadfreebsd-ports-gnome-bab84c5bf97f41f9feeaaf4e597a2efe191c5c4a.tar.gz
freebsd-ports-gnome-bab84c5bf97f41f9feeaaf4e597a2efe191c5c4a.tar.zst
freebsd-ports-gnome-bab84c5bf97f41f9feeaaf4e597a2efe191c5c4a.zip
- Stage support
Diffstat (limited to 'science')
-rw-r--r--science/fastcap/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/science/fastcap/Makefile b/science/fastcap/Makefile
index 1826c11fea11..f23743d64384 100644
--- a/science/fastcap/Makefile
+++ b/science/fastcap/Makefile
@@ -17,7 +17,6 @@ BINFILES= busgen capgen cubegen fastcap pipedgen pyragen
OPTIONS_DEFINE= DOCS EXAMPLES
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -41,16 +40,12 @@ post-patch:
@${REINPLACE_CMD} -e 's,temp\.out,$$@.&,' ${WRKSRC}/src/Makefile*
do-install:
- ${INSTALL_PROGRAM} ${BINFILES:S,^,${WRKSRC}/bin/,} ${PREFIX}/bin
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${CAT} ${WRKSRC}/README ${WRKSRC}/README.mit > ${DOCSDIR}/readme
- ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
- ${GZIP_CMD} ${DOCSDIR}/*
-.endif
+ ${INSTALL_PROGRAM} ${BINFILES:S,^,${WRKSRC}/bin/,} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${CAT} ${WRKSRC}/README ${WRKSRC}/README.mit > ${STAGEDIR}${DOCSDIR}/readme
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
+ ${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/*
.include <bsd.port.mk>