pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

update jgraphx to version 4.2.2



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%NetBSD.org@localhost>
Pushed By:	nros
Date:		Mon Nov 8 11:24:03 2021 +0000
Changeset:	ebb064f383c415576c17e855d7fbfcc2a8de5df7

Modified Files:
	jgraphx/Makefile
	jgraphx/PLIST
	jgraphx/distinfo

Log Message:
update jgraphx to version 4.2.2

update jgraphx to version 4.2.2 .
done because the old mastersite did not have the distfile.
distfile is now on github.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ebb064f383c415576c17e855d7fbfcc2a8de5df7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 jgraphx/Makefile | 16 ++++++++--------
 jgraphx/PLIST    |  2 +-
 jgraphx/distinfo |  5 +++--
 3 files changed, 12 insertions(+), 11 deletions(-)

diffs:
diff --git a/jgraphx/Makefile b/jgraphx/Makefile
index d512535ca8..fd3e5300ed 100644
--- a/jgraphx/Makefile
+++ b/jgraphx/Makefile
@@ -1,10 +1,9 @@
 # $NetBSD: Makefile,v 1.2 2014/10/23 15:55:35 makoto Exp $
 
-DISTNAME=	jgraphx-3_1_0_1
-PKGNAME=	${DISTNAME:C/_/./g}
+DISTNAME=	jgraphx-4.2.2
 CATEGORIES=	graphics
-MASTER_SITES=	http://downloads.jgraph.com/downloads/jgraphx/archive/
-EXTRACT_SUFX=	.zip
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jgraph/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/jgraph/jgraphx
@@ -13,16 +12,17 @@ LICENSE=	modified-bsd
 
 BUILD_DEPENDS+=	apache-ant-[0-9]*:../../devel/apache-ant
 
-WRKSRC=		${WRKDIR}/${PKGBASE}
+
 
 AUTO_MKDIRS=		yes
-INSTALLATION_DIRS+=	lib/java/jgraphx
+INSTALLATION_DIRS+=	lib/java
 
 do-build:
-	(cd ${WRKSRC}; ant )
+	(cd ${WRKSRC}; env ${MAKE_ENV} ant )
 
 do-install:
 	(cd ${WRKSRC}; \
-	${INSTALL_DATA} lib/jgraphx.jar ${DESTDIR}${PREFIX}/lib/java/jgraphx )
+	${INSTALL_DATA} lib/jgraphx.jar ${DESTDIR}${PREFIX}/lib/java )
 
+.include "../../mk/java-vm.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/jgraphx/PLIST b/jgraphx/PLIST
index d5a0192d96..239bbca073 100644
--- a/jgraphx/PLIST
+++ b/jgraphx/PLIST
@@ -1,2 +1,2 @@
 @comment $NetBSD: PLIST,v 1.1 2014/10/23 15:28:25 makoto Exp $
-lib/java/jgraphx/jgraphx.jar
+lib/java/jgraphx.jar
diff --git a/jgraphx/distinfo b/jgraphx/distinfo
index 65931494b6..2d128c6987 100644
--- a/jgraphx/distinfo
+++ b/jgraphx/distinfo
@@ -1,4 +1,5 @@
 $NetBSD: distinfo,v 1.1 2014/10/23 15:28:25 makoto Exp $
 
-RMD160 (jgraphx-3_1_0_1.zip) = 328c595598eff68e1196e604e6ec523c9a52113b
-Size (jgraphx-3_1_0_1.zip) = 4437525 bytes
+BLAKE2s (jgraphx-4.2.2.tar.gz) = cfb0a03ddd08161cf2d2731aefaf16d6c381c80a7e807f7ca861fe9656c187d1
+SHA512 (jgraphx-4.2.2.tar.gz) = 767c0972100c8ed41561304367cba4574d1ba1bcd5c5d57fa869dd0a1bc1b2d6d70253577a4d2a2f03641afec5bd0d4e81e52a13529681737de7918c0c24cee7
+Size (jgraphx-4.2.2.tar.gz) = 3525225 bytes


Home | Main Index | Thread Index | Old Index