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

(-)b/www/sakai/Makefile (-3 / +2 lines)
Lines 23-29 TOMCAT_DIR= ${PREFIX}/apache-tomcat-6.0 Link Here
23
PLIST_SUB+=	TOMCAT_DIR=${TOMCAT_DIR:S|^${PREFIX}/||} \
23
PLIST_SUB+=	TOMCAT_DIR=${TOMCAT_DIR:S|^${PREFIX}/||} \
24
	SAKAI_VER="${PORTVERSION}" 
24
	SAKAI_VER="${PORTVERSION}" 
25
25
26
NO_STAGE=	yes
27
post-extract:
26
post-extract:
28
	@cd ${WRKSRC}/webapps && `${LS} -1 |${SED} 's/.war//' >> ${WRKSRC}/list`
27
	@cd ${WRKSRC}/webapps && `${LS} -1 |${SED} 's/.war//' >> ${WRKSRC}/list`
29
	@cd ${WRKSRC}/webapps && ${MKDIR} `${CAT} ${WRKSRC}/list`
28
	@cd ${WRKSRC}/webapps && ${MKDIR} `${CAT} ${WRKSRC}/list`
Lines 33-41 post-extract: Link Here
33
do-install:
32
do-install:
34
.for i in ${SYSTEM_DIR}
33
.for i in ${SYSTEM_DIR}
35
	cd ${WRKSRC}/${i} && ${FIND} . -type d \
34
	cd ${WRKSRC}/${i} && ${FIND} . -type d \
36
		-exec ${INSTALL} -d ${TOMCAT_DIR}/${i}/{} \;
35
		-exec ${INSTALL} -d ${STAGEDIR}${TOMCAT_DIR}/${i}/{} \;
37
	cd ${WRKSRC}/${i} && ${FIND} . -type f \
36
	cd ${WRKSRC}/${i} && ${FIND} . -type f \
38
		-exec ${INSTALL} -m 644 {} ${TOMCAT_DIR}/${i}/{} \;
37
		-exec ${INSTALL} -m 644 {} ${STAGEDIR}${TOMCAT_DIR}/${i}/{} \;
39
.endfor
38
.endfor
40
	@${CAT} ${PKGMESSAGE}
39
	@${CAT} ${PKGMESSAGE}

Return to bug 190414