aboutsummaryrefslogtreecommitdiffstats
path: root/java/jboss2
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-06-28 19:25:26 +0800
committeritetcu <itetcu@FreeBSD.org>2008-06-28 19:25:26 +0800
commit8eaab95799fb865f8fad199b4e18330bbf376a82 (patch)
treec7afd554ee9b7a79c35d5d5f63a362e3996585a1 /java/jboss2
parentab488048b071cc0a7677b75382d90346e29af97c (diff)
downloadfreebsd-ports-graphics-8eaab95799fb865f8fad199b4e18330bbf376a82.tar.gz
freebsd-ports-graphics-8eaab95799fb865f8fad199b4e18330bbf376a82.tar.zst
freebsd-ports-graphics-8eaab95799fb865f8fad199b4e18330bbf376a82.zip
- s/NOPORTDOCS/NO_INSTALL_MANPAGES/ where needed
- use MAN1 for man page anr remove it from plist - fix plist for -DNOPORTDOCS - bump PORTREVISION Prompted by: QA Tindy run
Diffstat (limited to 'java/jboss2')
-rw-r--r--java/jboss2/Makefile8
-rw-r--r--java/jboss2/pkg-plist1
2 files changed, 6 insertions, 3 deletions
diff --git a/java/jboss2/Makefile b/java/jboss2/Makefile
index c1f9a377a91..4ccf88f0285 100644
--- a/java/jboss2/Makefile
+++ b/java/jboss2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ${APP_TITLE:L}
PORTVERSION= 2.4.11
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,6 +24,10 @@ NO_BUILD= YES
LATEST_LINK= jboss2
+.if !defined(NO_INSTALL_MANPAGES)
+MAN1= ${CONTROL_SCRIPT_NAME}.1
+.endif
+
WRKSRC= ${WRKDIR}/${DISTNAME}
APP_HOME?= ${PREFIX}/${PKGBASE}${PORTVERSION:R}
LOG_DIR= ${APP_HOME}/log
@@ -141,7 +145,7 @@ do-install:
@${CHMOD} 0544 ${STARTUP_SCRIPT}
@${ECHO_CMD} " [ DONE ]"
-.if !defined(NOPORTDOCS)
+.if !defined(NO_INSTALL_MANPAGES)
@${ECHO_CMD} -n ">> Installing man pages..."
@${INSTALL_MAN} ${WRKDIR}/daemonctl.1 ${MANPREFIX}/man/man1/${CONTROL_SCRIPT_NAME}.1
@${ECHO_CMD} " [ DONE ]"
diff --git a/java/jboss2/pkg-plist b/java/jboss2/pkg-plist
index d534eb05486..e7fc00542ad 100644
--- a/java/jboss2/pkg-plist
+++ b/java/jboss2/pkg-plist
@@ -1126,7 +1126,6 @@ etc/rc.d/020.jboss2.sh
%%T%%/bin/run.sh
%%T%%/bin/verifier.jar
%%T%%/bin/run.jar
-man/man1/jboss2ctl.1
@dirrm %%T%%/application-deployments
@dirrm %%T%%/docs/images
@dirrm %%T%%/docs/api/org/jboss/web