aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-09-06 11:23:45 +0800
committerhq <hq@FreeBSD.org>2005-09-06 11:23:45 +0800
commit592907db39bfcff22cee0e2e81ab80f634f434fc (patch)
tree0df719dcfb8916c0b7ad25ca51d79334114dc9f4
parent5d8bb895c90f2328e4e2780a407fe266db69637f (diff)
downloadfreebsd-ports-gnome-592907db39bfcff22cee0e2e81ab80f634f434fc.tar.gz
freebsd-ports-gnome-592907db39bfcff22cee0e2e81ab80f634f434fc.tar.zst
freebsd-ports-gnome-592907db39bfcff22cee0e2e81ab80f634f434fc.zip
Install ${PREFIX}/bin/tomcat55ctl even if rcNG script does not make use of it.
This should help users that are used to it. As a side effect, this change will also fix the packing list. Reported by: pointyhat via kris
-rw-r--r--www/jakarta-tomcat55/Makefile3
-rw-r--r--www/tomcat55/Makefile3
-rw-r--r--www/tomcat6/Makefile3
-rw-r--r--www/tomcat7/Makefile3
4 files changed, 12 insertions, 0 deletions
diff --git a/www/jakarta-tomcat55/Makefile b/www/jakarta-tomcat55/Makefile
index 379cb52a453b..8c918e8f5339 100644
--- a/www/jakarta-tomcat55/Makefile
+++ b/www/jakarta-tomcat55/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..."
diff --git a/www/tomcat55/Makefile b/www/tomcat55/Makefile
index 379cb52a453b..8c918e8f5339 100644
--- a/www/tomcat55/Makefile
+++ b/www/tomcat55/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..."
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..."
diff --git a/www/tomcat7/Makefile b/www/tomcat7/Makefile
index 379cb52a453b..8c918e8f5339 100644
--- a/www/tomcat7/Makefile
+++ b/www/tomcat7/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..."