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> |