View | Details | Raw Unified | Return to bug 101876
Collapse All | Expand All

(-)/home/staff/gslin/work/ports/mailgraph/Makefile (-4 / +4 lines)
Lines 20-26 Link Here
20
20
21
NO_BUILD=	yes
21
NO_BUILD=	yes
22
22
23
DATADIR?=	/var/db/mailgraph
23
DATADIR?=	${DESTDIR}/var/db/mailgraph
24
MAILGRAPH_USER?=	${WWWOWN}
24
MAILGRAPH_USER?=	${WWWOWN}
25
MAILGRAPH_GROUP?=	${WWWGRP}
25
MAILGRAPH_GROUP?=	${WWWGRP}
26
26
Lines 44-54 Link Here
44
	@${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
44
	@${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
45
45
46
do-install:
46
do-install:
47
	${MKDIR} ${PREFIX}/www/cgi-bin
47
	${MKDIR} ${TARGETDIR}/www/cgi-bin
48
	${MKDIR} ${DATADIR}
48
	${MKDIR} ${DATADIR}
49
	@${CHOWN} -R ${MAILGRAPH_USER}:${MAILGRAPH_GROUP} ${DATADIR}
49
	@${CHOWN} -R ${MAILGRAPH_USER}:${MAILGRAPH_GROUP} ${DATADIR}
50
	@${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${PREFIX}/sbin
50
	@${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${TARGETDIR}/sbin
51
	@${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${PREFIX}/www/cgi-bin
51
	@${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${TARGETDIR}/www/cgi-bin
52
52
53
post-install:
53
post-install:
54
	@${ECHO}
54
	@${ECHO}

Return to bug 101876