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

(-)b/www/phpgedview/Makefile (-10 / +3 lines)
Lines 25-31 OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE Link Here
25
OPTIONS_DEFAULT=	SQLITE
25
OPTIONS_DEFAULT=	SQLITE
26
DB_DESC=	Data storage
26
DB_DESC=	Data storage
27
27
28
NO_STAGE=	yes
29
.include <bsd.port.options.mk>
28
.include <bsd.port.options.mk>
30
29
31
.if ${PORT_OPTIONS:MMYSQL}
30
.if ${PORT_OPTIONS:MMYSQL}
Lines 48-66 post-extract: Link Here
48
.endfor
47
.endfor
49
48
50
do-install:
49
do-install:
51
	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
50
	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
52
	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/index ${WWWDIR}/media
51
	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/index ${STAGEDIR}${WWWDIR}/media
53
	@${CHMOD} -R u+w ${WWWDIR}/index ${WWWDIR}/media
52
	@${CHMOD} -R u+w ${STAGEDIR}${WWWDIR}/index ${STAGEDIR}${WWWDIR}/media
54
	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}
53
	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}
55
	@${ECHO_CMD} '@exec ${CHMOD} -R u+w ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}
54
	@${ECHO_CMD} '@exec ${CHMOD} -R u+w ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}
56
55
57
post-install:
56
post-install:
58
.for f in ${DISTATE}
59
	@if [ ! -f ${WWWDIR}/${f} ]; then \
60
		${CP} -p ${WWWDIR}/${f}-dist ${WWWDIR}/${f}; \
61
		${CHMOD} a+w ${WWWDIR}/${f}; \
62
	fi
63
.endfor
64
	@${CAT} ${PKGMESSAGE}
57
	@${CAT} ${PKGMESSAGE}
65
58
66
.include <bsd.port.mk>
59
.include <bsd.port.mk>

Return to bug 190316