diff options
author | glewis <glewis@FreeBSD.org> | 2005-04-12 05:22:43 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-04-12 05:22:43 +0800 |
commit | cba2ff145da5776eb59f95fba4325b86c82e11b3 (patch) | |
tree | 444c96a4315dec721635d870c02fb12d93be5ffd /java/javavmwrapper/Makefile | |
parent | 2a29b29c295aaaa709e767512adf49bfcd3826c7 (diff) | |
download | freebsd-ports-gnome-cba2ff145da5776eb59f95fba4325b86c82e11b3.tar.gz freebsd-ports-gnome-cba2ff145da5776eb59f95fba4325b86c82e11b3.tar.zst freebsd-ports-gnome-cba2ff145da5776eb59f95fba4325b86c82e11b3.zip |
. Install manual pages for javavmwrapper.
. Bump PORTREVISION.
PR: 27075
Diffstat (limited to 'java/javavmwrapper/Makefile')
-rw-r--r-- | java/javavmwrapper/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/java/javavmwrapper/Makefile b/java/javavmwrapper/Makefile index f6e5ae7c8033..bfe2f5112b76 100644 --- a/java/javavmwrapper/Makefile +++ b/java/javavmwrapper/Makefile @@ -9,7 +9,7 @@ PORTNAME= javavmwrapper PORTVERSION= 2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= java MASTER_SITES= # none DISTFILES= # none @@ -24,6 +24,9 @@ NO_WRKSUBDIR= yes PKGINSTALL= ${WRKDIR}/pkg-install +MAN1= checkvms.1 javavm.1 registervm.1 unregistervm.1 +MAN5= javavms.5 + SRC= ${.CURDIR}/src SCRIPTS= classpath javavmwrapper # This is normally defined by bsd.java.mk when USE_JAVA is defined, but @@ -41,6 +44,11 @@ do-configure: .endfor ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|;' \ ${FILESDIR}/pkg-install.in > ${PKGINSTALL} +.for _man in checkvms.1 javavm.1 registervm.1 ${MAN5} + ${SED} -e 's|%%PREFIX%%|${PREFIX}|;' \ + -e 's|%%LOCALBASE%%|${LOCALBASE}|;' \ + ${SRC}/${_man} > ${WRKDIR}/${_man} +.endfor do-install: ${INSTALL_SCRIPT} ${WRKDIR}/classpath.sh ${PREFIX}/bin/classpath @@ -48,6 +56,12 @@ do-install: ${LN} -sf ${PREFIX}/bin/javavm ${PREFIX}/bin/registervm ${LN} -sf ${PREFIX}/bin/javavm ${PREFIX}/bin/unregistervm ${LN} -sf ${PREFIX}/bin/javavm ${PREFIX}/bin/checkvms +.for _man in checkvms.1 javavm.1 registervm.1 + ${INSTALL_MAN} ${WRKDIR}/${_man} ${MAN1PREFIX}/man/man1 +.endfor + ${INSTALL_MAN} ${WRKDIR}/registervm.1 \ + ${MAN1PREFIX}/man/man1/unregistervm.1 + ${INSTALL_MAN} ${WRKDIR}/${MAN5} ${MAN5PREFIX}/man/man5 post-install: ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} \ |