diff options
author | rafan <rafan@FreeBSD.org> | 2014-04-04 17:01:55 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2014-04-04 17:01:55 +0800 |
commit | ef8475506859499cda4b97b17bdfdd53e48627d9 (patch) | |
tree | 707f8fbae7d777c0e892ab128f589ab5d5aee97c /mail | |
parent | 5f7c14d83d79d395a7b65de96cf8ee620fbe6926 (diff) | |
download | freebsd-ports-gnome-ef8475506859499cda4b97b17bdfdd53e48627d9.tar.gz freebsd-ports-gnome-ef8475506859499cda4b97b17bdfdd53e48627d9.tar.zst freebsd-ports-gnome-ef8475506859499cda4b97b17bdfdd53e48627d9.zip |
- STAGE support
PR: ports/188078
Submitted by: Danilo G. Baio <dbaio at bsd.com.br>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailgraph/Makefile | 23 | ||||
-rw-r--r-- | mail/mailgraph/pkg-plist | 6 |
2 files changed, 14 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> diff --git a/mail/mailgraph/pkg-plist b/mail/mailgraph/pkg-plist index f515cf96eb71..cbb4a78f22e6 100644 --- a/mail/mailgraph/pkg-plist +++ b/mail/mailgraph/pkg-plist @@ -1,6 +1,12 @@ +@owner www +@group www +%%DATADIR%% +@group +@owner %%CGIDIR%%/mailgraph.cgi %%WWWROOT%%/mailgraph/mailgraph.css sbin/mailgraph.pl +@dirrmtry %%DATADIR%% @dirrmtry %%CGIDIR%% @dirrmtry %%WWWROOT%%/mailgraph @dirrmtry %%WWWROOT%% |