diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-08-13 10:15:16 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-08-13 10:15:16 +0000 |
commit | 750307b1c1a3dafbc124e5ed167a9676c06dd6e8 (patch) | |
tree | 1cfc216697f90a6326dcac448e83d8195ab0b116 /mail/mailgraph | |
parent | e67a997c1f7ad594a2ac56a5fd505098a1492b2a (diff) | |
download | ports-750307b1c1a3dafbc124e5ed167a9676c06dd6e8.tar.gz ports-750307b1c1a3dafbc124e5ed167a9676c06dd6e8.zip |
Notes
Diffstat (limited to 'mail/mailgraph')
-rw-r--r-- | mail/mailgraph/Makefile | 8 |
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} |