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

Collapse All | Expand All

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

Return to bug 243648