1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/sysutils/jvmtop/Makefile
2021-04-06 16:31:07 +02:00

44 lines
1.1 KiB
Makefile

# Created by: Jason Helfman <jgh@FreeBSD.org>
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>