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

Collapse All | Expand All

(-)codeigniter/Makefile (-12 / +13 lines)
Lines 13-18 Link Here
13
13
14
USES=		zip
14
USES=		zip
15
15
16
NEED_ROOT=yes
17
16
CONFLICTS=	codeigniter-1.[0-9]*
18
CONFLICTS=	codeigniter-1.[0-9]*
17
19
18
NO_BUILD=	yes
20
NO_BUILD=	yes
Lines 73-79 Link Here
73
PGSQL_DESC=	Install PostgreSQL support for PHP
75
PGSQL_DESC=	Install PostgreSQL support for PHP
74
SQLITE_DESC=	Install SQLite support for PHP
76
SQLITE_DESC=	Install SQLite support for PHP
75
77
76
NO_STAGE=	yes
77
.include <bsd.port.pre.mk>
78
.include <bsd.port.pre.mk>
78
79
79
.if ${PORT_OPTIONS:MAPACHE}
80
.if ${PORT_OPTIONS:MAPACHE}
Lines 159-182 Link Here
159
	@${ECHO_MSG} ""
160
	@${ECHO_MSG} ""
160
161
161
do-install:
162
do-install:
162
	@cd ${WRKSRC} && ${COPYTREE_SHARE} "${STD_BITS}" ${WWWDIR}
163
	@cd ${WRKSRC} && ${COPYTREE_SHARE} "${STD_BITS}" ${STAGEDIR}${WWWDIR}
163
	@for i in ${CI_CONF_FILES}; do \
164
	@for i in ${CI_CONF_FILES}; do \
164
		${INSTALL_DATA} ${WRKSRC}/$$i ${WWWDIR}/$$i.sample; \
165
		${INSTALL_DATA} ${WRKSRC}/$$i ${STAGEDIR}${WWWDIR}/$$i.sample; \
165
	done
166
	done
166
	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
167
	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
167
	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
168
	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
168
		${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
169
		${STAGEDIR}${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
169
	@${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
170
	@${FIND} ${STAGEDIR}${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
170
	@${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type f -print0 | \
171
	@${ECHO_CMD} '@exec ${FIND} ${STAGEDIR}${WWWDIR} -type f -print0 | \
171
		${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
172
		${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
172
	@${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
173
	@${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
173
	@${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type d -print0 | \
174
	@${ECHO_CMD} '@exec ${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | \
174
		${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}
175
		${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}
175
176
176
post-install:
177
post-install:
177
	@for i in ${CI_CONF_FILES}; do \
178
	@for i in ${CI_CONF_FILES}; do \
178
		if [ ! -f ${WWWDIR}/$$i ]; then \
179
		if [ ! -f ${STAGEDIR}${WWWDIR}/$$i ]; then \
179
			${CP} -p ${WWWDIR}/$$i.sample ${WWWDIR}/$$i; \
180
			${CP} -p ${STAGEDIR}${WWWDIR}/$$i.sample ${STAGEDIR}${WWWDIR}/$$i; \
180
		else \
181
		else \
181
			${ECHO_MSG} "===> Customized ${WWWDIR}/$$i has not been overwritten"; \
182
			${ECHO_MSG} "===> Customized ${WWWDIR}/$$i has not been overwritten"; \
182
			if [ ! -z "$UPGRADE_TOOL" ]; then \
183
			if [ ! -z "$UPGRADE_TOOL" ]; then \
Lines 197-203 Link Here
197
	fi
198
	fi
198
.endif
199
.endif
199
.if ${PORT_OPTIONS:MDOCS}
200
.if ${PORT_OPTIONS:MDOCS}
200
	@cd ${WRKSRC}/user_guide && ${COPYTREE_SHARE} . ${DOCSDIR}
201
	@cd ${WRKSRC}/user_guide && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
201
.endif
202
.endif
202
203
203
	@${CAT} ${PKGMESSAGE}
204
	@${CAT} ${PKGMESSAGE}
(-)codeigniter/pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
built for PHP coders who need a simple and elegant toolkit to create
2
built for PHP coders who need a simple and elegant toolkit to create
3
full-featured web applications.
3
full-featured web applications.
4
4
5
WWW: http://codeigniter.com/
5
WWW: http://ellislab.com/codeigniter

Return to bug 189777