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

(-)b/www/sit/Makefile (-11 / +4 lines)
Lines 25-31 OPTIONS_DEFAULT= IMAP MBSTRING Link Here
25
IMAP_DESC=	Email Support
25
IMAP_DESC=	Email Support
26
MBSTRING_DESC=	Inbound email feature
26
MBSTRING_DESC=	Inbound email feature
27
27
28
NO_STAGE=	yes
29
.include <bsd.port.options.mk>
28
.include <bsd.port.options.mk>
30
29
31
.if ${PORT_OPTIONS:MIMAP}
30
.if ${PORT_OPTIONS:MIMAP}
Lines 41-57 USE_PHP+= ldap Link Here
41
.endif
40
.endif
42
41
43
do-install:
42
do-install:
44
	${MKDIR} ${WWWDIR}
43
	${MKDIR} ${STAGEDIR}${WWWDIR}
45
	cd ${WRKSRC}; ${FIND} . \
44
	cd ${WRKSRC}; ${FIND} . \
46
		| ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
45
		| ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
47
	${CHMOD} -R ${BINMODE} ${WWWDIR}
46
	${CHMOD} -R ${BINMODE} ${STAGEDIR}${WWWDIR}
48
	${FIND} ${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE}
47
	${FIND} ${STAGEDIR}${WWWDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE}
49
50
	@${CAT} ${PKGMESSAGE}
48
	@${CAT} ${PKGMESSAGE}
51
49
52
post-install:
53
	@if [ -f ${WWWDIR}/config.inc.php ]; then \
54
		${CP} -p ${WWWDIR}/config.inc.php ${WWWDIR}/config.inc.php.bak ; \
55
	fi
56
57
.include <bsd.port.mk>
50
.include <bsd.port.mk>
(-)b/www/sit/pkg-plist (+2 lines)
Lines 34-40 Link Here
34
%%WWWDIR%%/calendar/week_planner.js.php
34
%%WWWDIR%%/calendar/week_planner.js.php
35
%%WWWDIR%%/calendar/year.inc.php
35
%%WWWDIR%%/calendar/year.inc.php
36
%%WWWDIR%%/chart.php
36
%%WWWDIR%%/chart.php
37
@unexec if cmp -s %D/%%WWWDIR%%/config.inc.php %D/%%WWWDIR%%/config.inc-dist.php; then rm -f %D/%%WWWDIR%%/config.inc.php; fi
37
%%WWWDIR%%/config.inc-dist.php
38
%%WWWDIR%%/config.inc-dist.php
39
@exec cp -n %D/%F %B/config.inc.php
38
%%WWWDIR%%/config.php
40
%%WWWDIR%%/config.php
39
%%WWWDIR%%/contact_add.php
41
%%WWWDIR%%/contact_add.php
40
%%WWWDIR%%/contact_delete.php
42
%%WWWDIR%%/contact_delete.php

Return to bug 190435