summaryrefslogtreecommitdiffstats
path: root/www/jakarta-tomcat
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-tomcat
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-tomcat')
-rw-r--r--www/jakarta-tomcat/Makefile2
-rw-r--r--www/jakarta-tomcat/files/tomcatctl.12
2 files changed, 3 insertions, 1 deletions
diff --git a/www/jakarta-tomcat/Makefile b/www/jakarta-tomcat/Makefile
index b7201d9..d674a0a 100644
--- a/www/jakarta-tomcat/Makefile
+++ b/www/jakarta-tomcat/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-tomcat/files/tomcatctl.1 b/www/jakarta-tomcat/files/tomcatctl.1
index c0d332f..18eec8b 100644
--- a/www/jakarta-tomcat/files/tomcatctl.1
+++ b/www/jakarta-tomcat/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