View | Details | Raw Unified | Return to bug 39856 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/devel/chora/Makefile (-8 / +8 lines)
Lines 35-40 Link Here
35
.endif
35
.endif
36
36
37
NO_BUILD=	yes
37
NO_BUILD=	yes
38
USE_REINPLACE=	yes
39
REINPLACE_ARGS=	-i.beforeChora
38
40
39
# Specify where your repository belongs.
41
# Specify where your repository belongs.
40
# (You can reconfigure it after installation anyway)
42
# (You can reconfigure it after installation anyway)
Lines 70-90 Link Here
70
	  ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \
72
	  ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \
71
	fi
73
	fi
72
.endfor
74
.endfor
73
	@${PERL} -pi -e "s:%%CVSROOT%%:${CVSROOT}:;s:%%CONFDIR%%:${CONFDIR}:" \
75
	@${REINPLACE_CMD} -e "s:%%CVSROOT%%:${CVSROOT}:;s:%%CONFDIR%%:${CONFDIR}:" \
74
		${CONFDIR}/cvsroots.php
76
		${CONFDIR}/cvsroots.php
77
	@${RM} ${CONFDIR}/cvsroots.php.beforeChora
75
	@${CHOWN} -R www:www ${CHORADIR}
78
	@${CHOWN} -R www:www ${CHORADIR}
76
	@${CHMOD} -R o-rwx ${CONFDIR}
79
	@${CHMOD} -R o-rwx ${CONFDIR}
77
	@${CP} -p ${FILESDIR}/httpd.conf.chora ${HORDE_INC}
80
	@${CP} -p ${FILESDIR}/httpd.conf.chora ${HORDE_INC}
78
	@${PERL} -pi -e "s:/home/httpd/html/horde/chora:${CHORADIR}:g" \
81
	@${REINPLACE_CMD} -e "s:/home/httpd/html/horde/chora:${CHORADIR}:g" \
79
		${HORDE_INC}/httpd.conf.chora
82
		${HORDE_INC}/httpd.conf.chora
80
	@${CP} -p ${HORDEDIR}/config/registry.php		\
83
	@${RM} ${HORDE_INC}/httpd.conf.chora.beforeChora
81
		${HORDEDIR}/config/registry.php.beforeChora
84
	@${REINPLACE_CMD} -e "s://UNCOMMENTWHENINSTCHORA::" \
82
	@${CP} -p ${HORDEDIR}/config/mime_drivers.php		\
83
		${HORDEDIR}/config/mime_drivers.php.beforeChora
84
	@${PERL} -pi -e "s://UNCOMMENTWHENINSTCHORA::" \
85
		${HORDEDIR}/config/registry.php
85
		${HORDEDIR}/config/registry.php
86
.if !defined(WITHOUT_ENSCRIPT)
86
.if !defined(WITHOUT_ENSCRIPT)
87
	@${PERL} -pi -e "s://UNCOMMENTWHENINSTCHORA::" \
87
	@${REINPLACE_CMD} -e "s://UNCOMMENTWHENINSTCHORA::" \
88
		${HORDEDIR}/config/mime_drivers.php
88
		${HORDEDIR}/config/mime_drivers.php
89
.endif
89
.endif
90
	@${CP} -p ${HORDEDIR}/config/registry.php		\
90
	@${CP} -p ${HORDEDIR}/config/registry.php		\

Return to bug 39856