Index: head/sysutils/jvmtop/Makefile =================================================================== --- head/sysutils/jvmtop/Makefile (revision 518173) +++ head/sysutils/jvmtop/Makefile (revision 518174) @@ -1,33 +1,42 @@ # Created by: Jason Helfman # $FreeBSD$ PORTNAME= jvmtop -PORTVERSION= 0.8.0 -PORTREVISION= 1 +DISTVERSION= 0.8.0-27 +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 +JAVA_VERSION= 1.7+ -JAVA_VERSION= 1.6+ -USE_ANT= 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 -GH_TAG= 3d6978c -USE_GITHUB= YES +USE_GITHUB= yes +pre-build: + @${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}/dist/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR} + ${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${BUILD}-SNAPSHOT.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/sysutils/jvmtop/distinfo =================================================================== --- head/sysutils/jvmtop/distinfo (revision 518173) +++ head/sysutils/jvmtop/distinfo (revision 518174) @@ -1,2 +1,5 @@ -SHA256 (patric-r-jvmtop-0.8.0_GH0.tar.gz) = 4a11f3ffaa91c40cc8147adc5c7a78b488969a7671943418e16789df418ea0d7 -SIZE (patric-r-jvmtop-0.8.0_GH0.tar.gz) = 98878 +TIMESTAMP = 1574461612 +SHA256 (jvmtop-maven-repository-0.9.0.tar.gz) = 1508e7cdf1cdf352b8aa33f8c578561e5d8b5a93f8d2ddbecc85dcd7707189ee +SIZE (jvmtop-maven-repository-0.9.0.tar.gz) = 9492237 +SHA256 (patric-r-jvmtop-0.8.0-27-g5693965_GH0.tar.gz) = ee35a33fe9f88b643623346957c869be1929de74e779220b9ecc718c0b16fafe +SIZE (patric-r-jvmtop-0.8.0-27-g5693965_GH0.tar.gz) = 42869