summaryrefslogtreecommitdiff
path: root/www/tomcat41
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-03-30 19:53:18 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-03-30 19:53:18 +0000
commit9380d814eaf97f8fb58dd8e393be4754dde33fb4 (patch)
tree9afd05aa2b6e2f227c1915f3559b86028561fe40 /www/tomcat41
parentChase libdvdcss shared library version bump (diff)
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.
Notes
Notes: svn path=/head/; revision=56986
Diffstat (limited to 'www/tomcat41')
-rw-r--r--www/tomcat41/Makefile2
-rw-r--r--www/tomcat41/files/daemonctl.12
-rw-r--r--www/tomcat41/files/tomcatctl.12
3 files changed, 4 insertions, 2 deletions
diff --git a/www/tomcat41/Makefile b/www/tomcat41/Makefile
index b7201d93e985..d674a0a767d7 100644
--- a/www/tomcat41/Makefile
+++ b/www/tomcat41/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/tomcat41/files/daemonctl.1 b/www/tomcat41/files/daemonctl.1
index c0d332fda7d8..18eec8bdd144 100644
--- a/www/tomcat41/files/daemonctl.1
+++ b/www/tomcat41/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/tomcat41/files/tomcatctl.1 b/www/tomcat41/files/tomcatctl.1
index c0d332fda7d8..18eec8bdd144 100644
--- a/www/tomcat41/files/tomcatctl.1
+++ b/www/tomcat41/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%%