aboutsummaryrefslogtreecommitdiff
path: root/www/tomcat6
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-09-06 03:23:45 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-09-06 03:23:45 +0000
commit370093d6547bf8048947936aaa3f8888b1eee375 (patch)
treef60da2315b47b3827e77ce6876508f10e62f95a0 /www/tomcat6
parentba4e0f26bff24386aa8a4f635bc18ca919884eca (diff)
downloadports-370093d6547bf8048947936aaa3f8888b1eee375.tar.gz
ports-370093d6547bf8048947936aaa3f8888b1eee375.zip
Notes
Diffstat (limited to 'www/tomcat6')
-rw-r--r--www/tomcat6/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/tomcat6/Makefile b/www/tomcat6/Makefile
index 379cb52a453b..8c918e8f5339 100644
--- a/www/tomcat6/Makefile
+++ b/www/tomcat6/Makefile
@@ -157,6 +157,9 @@ do-install:
-e "/%%JAR_ARGS%%/s//\"start\",/g" \
${WRKDIR}/daemonctl.c > ${WRKDIR}/daemonctl_.c
@cd ${WRKDIR} && ${CC} -ansi -o ${CONTROL_SCRIPT_NAME} daemonctl_.c
+ @${CP} ${WRKDIR}/${CONTROL_SCRIPT_NAME} ${CONTROL_SCRIPT}
+ @${CHOWN} ${USER}:${GROUP} ${CONTROL_SCRIPT}
+ @${CHMOD} 6754 ${CONTROL_SCRIPT}
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} -n ">> Installing startup script..."