summaryrefslogtreecommitdiffstats
path: root/www/jakarta-tomcat4
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-03-30 19:53:18 +0000
committerznerd <znerd@FreeBSD.org>2002-03-30 19:53:18 +0000
commit6e04fe5c667b60632b899eef028c189d8b186ae2 (patch)
tree8330ff34b76d6bd3edfa2f34f320c5457bd862e1 /www/jakarta-tomcat4
parent71a82a97c9a58caab49ce8446f152c5217fec25f (diff)
downloadFreeBSD-ports-6e04fe5c667b60632b899eef028c189d8b186ae2.zip
FreeBSD-ports-6e04fe5c667b60632b899eef028c189d8b186ae2.tar.gz
Replacing the man page title (in capitals) in order
to make the man page fully generic for jakarta-tomcat, jakarta-tomcat4, orion and possibly others. PORTREVISION is not bumped, since the resulting man page is exactly the same.
Diffstat (limited to 'www/jakarta-tomcat4')
-rw-r--r--www/jakarta-tomcat4/Makefile2
-rw-r--r--www/jakarta-tomcat4/files/daemonctl.12
-rw-r--r--www/jakarta-tomcat4/files/tomcatctl.12
3 files changed, 4 insertions, 2 deletions
diff --git a/www/jakarta-tomcat4/Makefile b/www/jakarta-tomcat4/Makefile
index b7201d9..d674a0a 100644
--- a/www/jakarta-tomcat4/Makefile
+++ b/www/jakarta-tomcat4/Makefile
@@ -45,6 +45,7 @@ REPLACE_FILES= ${FILESDIR}/daemonctl.c \
JAR_FILE= lib/${APP_SHORTNAME}.jar
JAVA_ARGS= '"-Dtomcat.install=${APP_HOME}"'
JAR_ARGS= '"run"'
+CONTROL_SCRIPT_MANPAGE_TITLE= TOMCATCTL
WRKDIR?= work
.include <bsd.port.pre.mk>
@@ -75,6 +76,7 @@ do-install:
-e "/%%APP_SHORTNAME%%/s//${APP_SHORTNAME}/g" \
-e "/%%APP_TITLE%%/s//${APP_TITLE}/g" \
-e "/%%CONTROL_SCRIPT%%/s//${CONTROL_SCRIPT:S/\//\\\//g}/g" \
+ -e "/%%CONTROL_SCRIPT_MANPAGE_TITLE%%/s//${CONTROL_SCRIPT_MANPAGE_TITLE}/g" \
-e "/%%CONTROL_SCRIPT_NAME%%/s//${CONTROL_SCRIPT_NAME}/g" \
-e "/%%GROUP%%/s//${GROUP}/g" \
-e "/%%HTTP_PORT%%/s//${HTTP_PORT}/g" \
diff --git a/www/jakarta-tomcat4/files/daemonctl.1 b/www/jakarta-tomcat4/files/daemonctl.1
index c0d332f..18eec8b 100644
--- a/www/jakarta-tomcat4/files/daemonctl.1
+++ b/www/jakarta-tomcat4/files/daemonctl.1
@@ -1,5 +1,5 @@
.Dd February 21, 2002
-.Dt TOMCATCTL 1
+.Dt %%CONTROL_SCRIPT_MANPAGE_TITLE%% 1
.Os FreeBSD
.Sh NAME
.Nm %%CONTROL_SCRIPT_NAME%%
diff --git a/www/jakarta-tomcat4/files/tomcatctl.1 b/www/jakarta-tomcat4/files/tomcatctl.1
index c0d332f..18eec8b 100644
--- a/www/jakarta-tomcat4/files/tomcatctl.1
+++ b/www/jakarta-tomcat4/files/tomcatctl.1
@@ -1,5 +1,5 @@
.Dd February 21, 2002
-.Dt TOMCATCTL 1
+.Dt %%CONTROL_SCRIPT_MANPAGE_TITLE%% 1
.Os FreeBSD
.Sh NAME
.Nm %%CONTROL_SCRIPT_NAME%%
OpenPOWER on IntegriCloud