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