Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2019 23:45:12 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518174 - head/sysutils/jvmtop
Message-ID:  <201911222345.xAMNjCva039745@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Fri Nov 22 23:45:12 2019
New Revision: 518174
URL: https://svnweb.freebsd.org/changeset/ports/518174

Log:
  - update to latest commit (5693965)
  - update source build process

Modified:
  head/sysutils/jvmtop/Makefile
  head/sysutils/jvmtop/distinfo

Modified: head/sysutils/jvmtop/Makefile
==============================================================================
--- head/sysutils/jvmtop/Makefile	Fri Nov 22 23:36:47 2019	(r518173)
+++ head/sysutils/jvmtop/Makefile	Fri Nov 22 23:45:12 2019	(r518174)
@@ -2,32 +2,41 @@
 # $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 <bsd.port.mk>

Modified: head/sysutils/jvmtop/distinfo
==============================================================================
--- head/sysutils/jvmtop/distinfo	Fri Nov 22 23:36:47 2019	(r518173)
+++ head/sysutils/jvmtop/distinfo	Fri Nov 22 23:45:12 2019	(r518174)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911222345.xAMNjCva039745>