aboutsummaryrefslogtreecommitdiff
path: root/www/jakarta-tomcat5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/jakarta-tomcat5/Makefile')
-rw-r--r--www/jakarta-tomcat5/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/jakarta-tomcat5/Makefile b/www/jakarta-tomcat5/Makefile
index c94b2602b717..9f6f17c10bfb 100644
--- a/www/jakarta-tomcat5/Makefile
+++ b/www/jakarta-tomcat5/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jakarta-tomcat
-PORTVERSION= 5.0.25
+PORTVERSION= 5.0.27
CATEGORIES= www java
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
MASTER_SITE_SUBDIR= tomcat-5/v${PORTVERSION}/bin
@@ -113,6 +113,10 @@ do-install:
@${MKDIR} ${LOG_DIR}
@${ECHO_CMD} " [ DONE ]"
+ @${ECHO_CMD} -n ">> Backing up configuration files..."
+ @${MV} ${APP_HOME}/conf ${APP_HOME}/conf.orig 2>/dev/null || true
+ @${ECHO_CMD} " [ DONE ]"
+
@${ECHO_CMD} -n ">> Copying files to destination directory..."
@${CP} -R ${WRKSRC}/* ${APP_HOME}
@${CP} ${WRKDIR}/server.xml ${APP_HOME}/conf/