aboutsummaryrefslogtreecommitdiff
path: root/mail/mailgraph/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2014-04-04 09:01:55 +0000
committerRong-En Fan <rafan@FreeBSD.org>2014-04-04 09:01:55 +0000
commit821fc8361cea48d4d1e8ce06793a84a068e1bde4 (patch)
tree707f8fbae7d777c0e892ab128f589ab5d5aee97c /mail/mailgraph/Makefile
parent0a1e865fd42c60b2bd17cce96fd108e48ba8d99a (diff)
downloadports-821fc8361cea48d4d1e8ce06793a84a068e1bde4.tar.gz
ports-821fc8361cea48d4d1e8ce06793a84a068e1bde4.zip
Notes
Diffstat (limited to 'mail/mailgraph/Makefile')
-rw-r--r--mail/mailgraph/Makefile23
1 files changed, 8 insertions, 15 deletions
diff --git a/mail/mailgraph/Makefile b/mail/mailgraph/Makefile
index 783d32ec6671..ae40c6bc5e4e 100644
--- a/mail/mailgraph/Makefile
+++ b/mail/mailgraph/Makefile
@@ -32,7 +32,6 @@ DOCS= README CHANGES
PORTDOCS= ${DOCS}
.endif
-NO_STAGE= yes
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "You may set following options:"
@@ -47,23 +46,17 @@ post-patch:
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/mailgraph.cgi
do-install:
- ${MKDIR} ${CGIDIR}
- ${MKDIR} ${WWWROOT}/mailgraph
- ${MKDIR} ${DATADIR}
- @${CHOWN} -R ${MAILGRAPH_USER}:${MAILGRAPH_GROUP} ${DATADIR}
- @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${PREFIX}/sbin
- @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${CGIDIR}
- @${INSTALL_DATA} ${WRKSRC}/mailgraph.css ${WWWROOT}/mailgraph
+ ${MKDIR} ${STAGEDIR}${CGIDIR}
+ ${MKDIR} ${STAGEDIR}${WWWROOT}/mailgraph
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${STAGEDIR}${PREFIX}/sbin
+ @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${STAGEDIR}${CGIDIR}
+ @${INSTALL_DATA} ${WRKSRC}/mailgraph.css ${STAGEDIR}${WWWROOT}/mailgraph
.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
-post-install:
- @${ECHO_MSG} ""
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG} ""
-
.include <bsd.port.mk>