Lines 93-98
Link Here
|
93 |
.endif |
93 |
.endif |
94 |
|
94 |
|
95 |
NO_BUILD= yes |
95 |
NO_BUILD= yes |
|
|
96 |
USE_REINPLACE= yes |
97 |
|
98 |
REINPLACE_ARGS= -i.beforeImp |
96 |
DOCS= COPYING README docs/CHANGES docs/CREDITS docs/DATABASE \ |
99 |
DOCS= COPYING README docs/CHANGES docs/CREDITS docs/DATABASE \ |
97 |
docs/HELP docs/INSTALL docs/SECURITY docs/KNOWN_BUGS \ |
100 |
docs/HELP docs/INSTALL docs/SECURITY docs/KNOWN_BUGS \ |
98 |
docs/PACKAGES |
101 |
docs/PACKAGES |
Lines 173-191
Link Here
|
173 |
${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${IMPDIR} |
176 |
${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${IMPDIR} |
174 |
${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${IMPDIR} |
177 |
${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${IMPDIR} |
175 |
${CP} -p ${WRKSRC}/*.php3 ${WRKSRC}/*.css ${IMPDIR} |
178 |
${CP} -p ${WRKSRC}/*.php3 ${WRKSRC}/*.css ${IMPDIR} |
176 |
${PERL} -pi -e "s:/usr/bin/ispell:${LOCALBASE}/bin/ispell:g" \ |
179 |
${REINPLACE_CMD} -e "s:/usr/bin/ispell:${LOCALBASE}/bin/ispell:g ; \ |
177 |
${IMPDIR}/config/defaults.php3.dist |
180 |
s:/usr/bin/wvHtml:${LOCALBASE}/bin/wvHtml:g ; \ |
178 |
${PERL} -pi -e "s:/usr/bin/wvHtml:${LOCALBASE}/bin/wvHtml:g" \ |
181 |
s:/usr/bin/xlHtml:${LOCALBASE}/bin/xlhtml:g ; \ |
179 |
${IMPDIR}/config/defaults.php3.dist |
182 |
s:/bin/tar:/usr/bin/tar:g ; \ |
180 |
${PERL} -pi -e "s:/usr/bin/xlHtml:${LOCALBASE}/bin/xlhtml:g" \ |
183 |
s:/usr/bin/zipinfo:${LOCALBASE}/bin/zipinfo:g" \ |
181 |
${IMPDIR}/config/defaults.php3.dist |
184 |
${IMPDIR}/config/defaults.php3.dist |
182 |
${PERL} -pi -e "s:/bin/tar:/usr/bin/tar:g" ${IMPDIR}/config/defaults.php3.dist |
185 |
@${RM} ${IMPDIR}/config/defaults.php3.dist.beforeImp |
183 |
${PERL} -pi -e "s:/usr/bin/zipinfo:${LOCALBASE}/bin/zipinfo:g" \ |
186 |
${REINPLACE_CMD} -e "s:sh ./secure.sh:${HORDESBIN}/horde_secure.sh:g ; \ |
184 |
${IMPDIR}/config/defaults.php3.dist |
187 |
s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g" \ |
185 |
${PERL} -pi -e "s:sh ./secure.sh:${HORDESBIN}/horde_secure.sh:g" \ |
|
|
186 |
${IMPDIR}/templates/index/imp_notconfigured.inc |
187 |
${PERL} -pi -e "s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g" \ |
188 |
${IMPDIR}/templates/index/imp_notconfigured.inc |
188 |
${IMPDIR}/templates/index/imp_notconfigured.inc |
|
|
189 |
@${RM} ${IMPDIR}/templates/index/imp_notconfigured.inc.beforeImp |
189 |
@if [ ! -f ${IMPDIR}/config/defaults.php3 ]; then \ |
190 |
@if [ ! -f ${IMPDIR}/config/defaults.php3 ]; then \ |
190 |
${CP} ${IMPDIR}/config/defaults.php3.dist ${IMPDIR}/config/defaults.php3; \ |
191 |
${CP} ${IMPDIR}/config/defaults.php3.dist ${IMPDIR}/config/defaults.php3; \ |
191 |
fi |
192 |
fi |
Lines 205-211
Link Here
|
205 |
(if [ ! -f ${APACHE_CONF}.beforeIMP ] ; then \ |
206 |
(if [ ! -f ${APACHE_CONF}.beforeIMP ] ; then \ |
206 |
${ECHO} "===> Updating ${APACHE_CONF}..." ; \ |
207 |
${ECHO} "===> Updating ${APACHE_CONF}..." ; \ |
207 |
${CP} -p ${.CURDIR}/httpd.conf.imp ${WRKDIR}/httpd.conf.imp ; \ |
208 |
${CP} -p ${.CURDIR}/httpd.conf.imp ${WRKDIR}/httpd.conf.imp ; \ |
208 |
${PERL} -pi -e "s:/home/httpd/html/horde/imp:${IMPDIR}:g" \ |
209 |
${REINPLACE_CMD} -e "s:/home/httpd/html/horde/imp:${IMPDIR}:g" \ |
209 |
${WRKDIR}/httpd.conf.imp ; \ |
210 |
${WRKDIR}/httpd.conf.imp ; \ |
210 |
${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeIMP ; \ |
211 |
${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeIMP ; \ |
211 |
${GREP} -qw 'Added for IMP' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.imp \ |
212 |
${GREP} -qw 'Added for IMP' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.imp \ |
Lines 213-219
Link Here
|
213 |
fi) ; \ |
214 |
fi) ; \ |
214 |
fi) |
215 |
fi) |
215 |
.if !defined(NOPORTDOCS) |
216 |
.if !defined(NOPORTDOCS) |
216 |
${PERL} -pi -e "s:/home/httpd/html/horde/imp:${IMPDIR}:g" ${WRKSRC}/docs/SECURITY |
217 |
${REINPLACE_CMD} -e "s:/home/httpd/html/horde:${HORDEDIR}:g ; \ |
|
|
218 |
s:/home/httpd/horde-phplib:${HORDEDIR}/phplib:g ; \ |
219 |
s:nobody:www:g" \ |
220 |
${WRKSRC}/docs/SECURITY |
217 |
${MKDIR} ${DOCSDIR} |
221 |
${MKDIR} ${DOCSDIR} |
218 |
.for FILE in ${DOCS} |
222 |
.for FILE in ${DOCS} |
219 |
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} |
223 |
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} |
Lines 248-253
Link Here
|
248 |
@${ECHO} "IMAP-UW; you may want to reinstall it with SSL support, or" |
252 |
@${ECHO} "IMAP-UW; you may want to reinstall it with SSL support, or" |
249 |
@${ECHO} "if you need an SSL connection to your IMAP server, you can" |
253 |
@${ECHO} "if you need an SSL connection to your IMAP server, you can" |
250 |
@${ECHO} "install the port security/stunnel." |
254 |
@${ECHO} "install the port security/stunnel." |
|
|
255 |
@${ECHO} "Note: without SSL, you have to choose the IMAP port 143/notls" |
251 |
@${ECHO} "******************************************************************" |
256 |
@${ECHO} "******************************************************************" |
252 |
|
257 |
|
253 |
.include <bsd.port.mk> |
258 |
.include <bsd.port.mk> |