mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Don't package runtime rrd directory location
This commit is contained in:
parent
ff460be0a4
commit
ae99283bbb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350190
3 changed files with 8 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= mailgraph
|
||||
PORTVERSION= 1.14
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://mailgraph.schweikert.ch/pub/ \
|
||||
http://mailgraph.schweikert.ch/pub/old/
|
||||
|
@ -48,7 +48,6 @@ post-patch:
|
|||
do-install:
|
||||
${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
|
||||
|
|
|
@ -18,8 +18,15 @@ rcvar=mailgraph_enable
|
|||
command=%%PREFIX%%/sbin/${name}.pl
|
||||
command_args='> /dev/null 2>&1'
|
||||
command_interpreter=/usr/bin/perl
|
||||
start_precmd=start_precmd
|
||||
stop_postcmd=stop_postcmd
|
||||
|
||||
start_precmd()
|
||||
{
|
||||
mkdir -p "%%DATADIR%%"
|
||||
chown "%%MAILGRAPH_USER%%" "%%DATADIR%%"
|
||||
}
|
||||
|
||||
stop_postcmd()
|
||||
{
|
||||
rm -f $pidfile
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
@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%%
|
||||
|
|
Loading…
Add table
Reference in a new issue