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

(-)b/www/repos-style/Makefile (-6 / +2 lines)
Lines 24-41 WRKSRC= ${WRKDIR}/repos-web Link Here
24
SUB_LIST+=	PORTNAME=${PORTNAME}
24
SUB_LIST+=	PORTNAME=${PORTNAME}
25
SUB_FILES+=	pkg-message
25
SUB_FILES+=	pkg-message
26
26
27
NO_STAGE=	yes
28
pre-install:
27
pre-install:
29
# Prevent installation of .orig files by deleting them.
28
# Prevent installation of .orig files by deleting them.
30
	@${FIND} ${WRKSRC} -name '*.orig' -delete
29
	@${FIND} ${WRKSRC} -name '*.orig' -delete
31
	${MV} ${WRKSRC}/open/log/index.php ${WRKSRC}/open/log/index.dist.php
30
	${MV} ${WRKSRC}/open/log/index.php ${WRKSRC}/open/log/index.dist.php
32
31
33
do-install:
32
do-install:
34
	@${MKDIR} ${WWWDIR}
33
	@${MKDIR} ${STAGEDIR}${WWWDIR}
35
	@(cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR})
34
	@(cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR})
36
	if [ ! -f ${WWWDIR}/open/log/index.php ]; then \
37
		${CP} -p ${WWWDIR}/open/log/index.dist.php ${WWWDIR}/open/log/index.php; \
38
	fi
39
35
40
post-install:
36
post-install:
41
	@${CAT} ${PKGMESSAGE}
37
	@${CAT} ${PKGMESSAGE}

Return to bug 190380