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

Collapse All | Expand All

(-)b/www/punbb/Makefile (-8 / +7 lines)
Lines 24-37 SUB_FILES= pkg-message Link Here
24
24
25
NO_BUILD=	yes
25
NO_BUILD=	yes
26
USE_PHP=	yes
26
USE_PHP=	yes
27
USE_BZIP2=	yes
27
USES=		tar:bzip2
28
28
29
OPTIONS_DEFINE=	LANGUAGE_PACK EXTRAS
29
OPTIONS_DEFINE=	LANGUAGE_PACK EXTRAS
30
OPTIONS_DEFAULT=	LANGUAGE_PACK EXTRAS
30
OPTIONS_DEFAULT=	LANGUAGE_PACK EXTRAS
31
LANGUAGE_PACK_DESC=	Install language packs
31
LANGUAGE_PACK_DESC=	Install language packs
32
EXTRAS_DESC=		Install all plugins available
32
EXTRAS_DESC=		Install all plugins available
33
33
34
NO_STAGE=	yes
35
.include <bsd.port.options.mk>
34
.include <bsd.port.options.mk>
36
35
37
.if ${PORT_OPTIONS:MLANGUAGE_PACK}
36
.if ${PORT_OPTIONS:MLANGUAGE_PACK}
Lines 111-132 PLIST_SUB+= PLUGINS="@comment " Link Here
111
.endif
110
.endif
112
111
113
do-install:
112
do-install:
114
	@cd ${WRKSRC}/upload && ${COPYTREE_SHARE} . ${WWWDIR}
113
	@cd ${WRKSRC}/upload && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
115
114
116
.for i in ${LANGFILES}
115
.for i in ${LANGFILES}
117
	${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${WWWDIR}/lang -x '*/.DS_Store' -x '*/._.DS_Store'
116
	${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${STAGEDIR}${WWWDIR}/lang -x '*/.DS_Store' -x '*/._.DS_Store'
118
.endfor
117
.endfor
119
118
120
.for i in ${PLUGINS}
119
.for i in ${PLUGINS}
121
	${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${WWWDIR}/plugins
120
	${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${STAGEDIR}${WWWDIR}/plugins
122
.endfor
121
.endfor
123
122
124
.if !defined(NOPORTEXAMPLES)
123
.if !defined(NOPORTEXAMPLES)
125
	@${INSTALL} -d ${EXAMPLESDIR}
124
	@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}
126
	cd ${WRKSRC}/extras && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
125
	cd ${WRKSRC}/extras && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
127
.endif
126
.endif
128
127
129
	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
128
	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
130
	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
129
	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
131
130
132
post-install:
131
post-install:

Return to bug 190371