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

Collapse All | Expand All

(-)www/tomcat85/Makefile (-20 / +5 lines)
Lines 50-85 Link Here
50
do-install:
50
do-install:
51
	@${MKDIR} ${STAGEDIR}${TOMCAT_HOME}/logs
51
	@${MKDIR} ${STAGEDIR}${TOMCAT_HOME}/logs
52
	@${MKDIR} ${STAGEDIR}${TOMCAT_HOME}/endorsed
52
	@${MKDIR} ${STAGEDIR}${TOMCAT_HOME}/endorsed
53
	${CP} -R ${WRKSRC}/* ${STAGEDIR}${TOMCAT_HOME}
53
	@${CP} -R ${WRKSRC}/* ${STAGEDIR}${TOMCAT_HOME}
54
54
55
post-install:
55
post-install:
56
	@${RM} ${STAGEDIR}${TOMCAT_HOME}/bin/*.bat
56
	@${RM} ${STAGEDIR}${TOMCAT_HOME}/bin/*.bat
57
	(cd ${STAGEDIR}${TOMCAT_HOME}/conf &&\
57
	@(cd ${STAGEDIR}${TOMCAT_HOME}/conf &&\
58
		for f in $$(find . -type f); do ${MV} $$f $$f.sample; done)
58
		for f in $$(find . -type f -not -name '*.xsd'); do ${MV} $$f $$f.sample; done)
59
59
60
post-install-HOST_MANAGER-on:
60
post-install-HOST_MANAGER-on:
61
	(cd ${STAGEDIR}${TOMCAT_HOME}/webapps &&\
61
	@(cd ${STAGEDIR}${TOMCAT_HOME}/webapps &&\
62
		for f in host-manager/META-INF/context.xml host-manager/WEB-INF/web.xml; do \
62
		for f in host-manager/META-INF/context.xml host-manager/WEB-INF/web.xml; do \
63
			${MV} $$f $$f.sample; done)
63
			${MV} $$f $$f.sample; done)
64
64
65
post-install-HOST_MANAGER-off:
66
	@${RM} -R ${STAGEDIR}${TOMCAT_HOME}/webapps/host-manager
67
68
post-install-MANAGER-on:
65
post-install-MANAGER-on:
69
	(cd ${STAGEDIR}${TOMCAT_HOME}/webapps &&\
66
	@(cd ${STAGEDIR}${TOMCAT_HOME}/webapps &&\
70
		for f in manager/META-INF/context.xml manager/WEB-INF/web.xml; do \
67
		for f in manager/META-INF/context.xml manager/WEB-INF/web.xml; do \
71
			${MV} $$f $$f.sample; done)
68
			${MV} $$f $$f.sample; done)
72
73
post-install-MANAGER-off:
74
	@${RM} -R ${STAGEDIR}${TOMCAT_HOME}/webapps/manager
75
76
post-install-DOCS-off:
77
	@${RM} -R ${STAGEDIR}${TOMCAT_HOME}/webapps/docs
78
79
post-install-EXAMPLES-off:
80
	@${RM} -R ${STAGEDIR}${TOMCAT_HOME}/webapps/examples
81
82
post-install-ROOT-off:
83
	@${RM} -R ${STAGEDIR}${TOMCAT_HOME}/webapps/ROOT
84
69
85
.include <bsd.port.mk>
70
.include <bsd.port.mk>
(-)www/tomcat85/pkg-plist (-2 / +2 lines)
Lines 60-70 Link Here
60
@sample %%T%%/conf/catalina.properties.sample
60
@sample %%T%%/conf/catalina.properties.sample
61
@sample %%T%%/conf/context.xml.sample
61
@sample %%T%%/conf/context.xml.sample
62
@sample %%T%%/conf/jaspic-providers.xml.sample
62
@sample %%T%%/conf/jaspic-providers.xml.sample
63
@sample %%T%%/conf/jaspic-providers.xsd.sample
63
%%T%%/conf/jaspic-providers.xsd
64
@sample %%T%%/conf/logging.properties.sample
64
@sample %%T%%/conf/logging.properties.sample
65
@sample %%T%%/conf/server.xml.sample
65
@sample %%T%%/conf/server.xml.sample
66
@sample %%T%%/conf/tomcat-users.xml.sample
66
@sample %%T%%/conf/tomcat-users.xml.sample
67
@sample %%T%%/conf/tomcat-users.xsd.sample
67
%%T%%/conf/tomcat-users.xsd
68
@sample %%T%%/conf/web.xml.sample
68
@sample %%T%%/conf/web.xml.sample
69
%%T%%/temp/safeToDelete.tmp
69
%%T%%/temp/safeToDelete.tmp
70
%%DOCS%%%%T%%/webapps/docs/BUILDING.txt
70
%%DOCS%%%%T%%/webapps/docs/BUILDING.txt

Return to bug 243648