freebsd-ports/sysutils/jvmtop/Makefile
Jung-uk Kim 5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Jason Helfman <jgh@FreeBSD.org>
# $FreeBSD$
PORTNAME= jvmtop
DISTVERSION= 0.8.0-27
PORTREVISION= 1
DISTVERSIONSUFFIX= -g5693965
CATEGORIES= sysutils java
MASTER_SITES= SF/bsdsrc/jvmtop:source2
DISTFILES= jvmtop-maven-repository-${BUILD}.tar.gz:source2
MAINTAINER= jgh@FreeBSD.org
COMMENT= Lightweight console application to monitor running jvms
LICENSE= GPLv2
BUILD_DEPENDS= mvn:devel/maven
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
USE_JAVA= yes
NO_ARCH= yes
PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar \
bin/${PORTNAME}
SUB_LIST= JAVA_HOME=${JAVA_HOME}
SUB_FILES= ${PORTNAME}.sh
BUILD= 0.9.0
GH_ACCOUNT= patric-r
USE_GITHUB= yes
post-extract:
@${TAR} -xf ${DISTDIR}/jvmtop-maven-repository-${BUILD}.tar.gz -C ${WRKSRC}
do-build:
cd ${WRKSRC} && ${LOCALBASE}/bin/mvn -o -Dmaven.repo.local=.m2/repository ${INSTALL}
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${BUILD}-SNAPSHOT.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>