aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-10-30 00:42:18 +0800
committerolgeni <olgeni@FreeBSD.org>2013-10-30 00:42:18 +0800
commit7c74b4a11db35d2890e31d32548f82dcbd55e6ed (patch)
tree9f558bebe86e952d4de62510df434946e9a41647 /net
parenteb32cb905f6d59eff130d3b957efe0a4abf01f7c (diff)
downloadfreebsd-ports-gnome-7c74b4a11db35d2890e31d32548f82dcbd55e6ed.tar.gz
freebsd-ports-gnome-7c74b4a11db35d2890e31d32548f82dcbd55e6ed.tar.zst
freebsd-ports-gnome-7c74b4a11db35d2890e31d32548f82dcbd55e6ed.zip
Add staging support.
Diffstat (limited to 'net')
-rw-r--r--net/ranch/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/net/ranch/Makefile b/net/ranch/Makefile
index c567fd81f64e..fccf78ae64d4 100644
--- a/net/ranch/Makefile
+++ b/net/ranch/Makefile
@@ -22,22 +22,17 @@ GH_TAGNAME= ${PORTVERSION}
PORTDOCS= *
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/guide/* ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
-.endif
- @${MKDIR} ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}
- @${MKDIR} ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
- @${MKDIR} ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
- ${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
- ${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/guide/* ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
+ ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
+ ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
.include <bsd.port.mk>