Staging support
This commit is contained in:
parent
351f262768
commit
a32a29f74a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355839
@ -31,7 +31,6 @@ DOCS= README ChangeLog
|
||||
PORTDOCS= ${DOCS}
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-everything::
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "You may set following options:"
|
||||
@ -45,15 +44,15 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/bindgraph.cgi
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${CGIDIR}
|
||||
${MKDIR} ${DATADIR}
|
||||
@${CHOWN} -R ${BINDGRAPH_USER}:${BINDGRAPH_GROUP} ${DATADIR}/
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.pl ${PREFIX}/sbin/
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.cgi ${CGIDIR}/
|
||||
${MKDIR} ${STAGEDIR}${CGIDIR}
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
@${CHOWN} -R ${BINDGRAPH_USER}:${BINDGRAPH_GROUP} ${STAGEDIR}${DATADIR}/
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.pl ${STAGEDIR}${PREFIX}/sbin/
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.cgi ${STAGEDIR}${CGIDIR}/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
for f in ${DOCS}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}/; \
|
||||
${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}/; \
|
||||
done
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user