aboutsummaryrefslogtreecommitdiff
path: root/mail/mailgraph
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-08-13 10:15:16 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-08-13 10:15:16 +0000
commit750307b1c1a3dafbc124e5ed167a9676c06dd6e8 (patch)
tree1cfc216697f90a6326dcac448e83d8195ab0b116 /mail/mailgraph
parente67a997c1f7ad594a2ac56a5fd505098a1492b2a (diff)
downloadports-750307b1c1a3dafbc124e5ed167a9676c06dd6e8.tar.gz
ports-750307b1c1a3dafbc124e5ed167a9676c06dd6e8.zip
Notes
Diffstat (limited to 'mail/mailgraph')
-rw-r--r--mail/mailgraph/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/mailgraph/Makefile b/mail/mailgraph/Makefile
index 71a76298af57..1510ed2c4128 100644
--- a/mail/mailgraph/Makefile
+++ b/mail/mailgraph/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${SITE_PERL}/RRDp.pm:${PORTSDIR}/net/rrdtool \
NO_BUILD= yes
-DATADIR?= /var/db/mailgraph
+DATADIR?= ${DESTDIR}/var/db/mailgraph
MAILGRAPH_USER?= ${WWWOWN}
MAILGRAPH_GROUP?= ${WWWGRP}
@@ -44,11 +44,11 @@ post-patch:
@${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
do-install:
- ${MKDIR} ${PREFIX}/www/cgi-bin
+ ${MKDIR} ${TARGETDIR}/www/cgi-bin
${MKDIR} ${DATADIR}
@${CHOWN} -R ${MAILGRAPH_USER}:${MAILGRAPH_GROUP} ${DATADIR}
- @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${PREFIX}/sbin
- @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${PREFIX}/www/cgi-bin
+ @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${TARGETDIR}/sbin
+ @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${TARGETDIR}/www/cgi-bin
post-install:
@${ECHO}