blob: 0279ebdfbc1e30eb4dc8cde7501c737926fa9541 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.4 2018/09/20 11:20:29 abs Exp $
DISTNAME= visualvm_141
PKGNAME= visualvm-1.4.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=oracle/}
GITHUB_RELEASE= ${PKGNAME:S:visualvm-::}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://visualvm.github.io/
COMMENT= Monitor, profile, take and browse java thread dumps
LICENSE= gnu-gpl-v2
USE_JAVA= yes
USE_JAVA2= 8
USE_LANGUAGES= # none
USE_TOOLS+= find pax
NO_CONFIGURE= yes
VISUALVMDIR= lib/visualvm
# Contains shlibs for many different arches
CHECK_SHLIBS_SUPPORTED= no
CHECK_SSP_SUPPORTED= no
INSTALLATION_DIRS= bin ${VISUALVMDIR}
do-build:
${SED} -e 's|@PREFIX@|${PREFIX}|g' -e 's|@JAVA_HOME@|${PKG_JAVA_HOME}|g' ${FILESDIR}/visualvm.sh > ${WRKDIR}/visualvm.sh
do-install:
cd ${WRKSRC} && ${FIND} . -type f ! -name '*.orig' | ${PAX} -rw ${DESTDIR}${PREFIX}/${VISUALVMDIR}
${INSTALL_SCRIPT} ${WRKDIR}/visualvm.sh ${DESTDIR}${PREFIX}/bin/visualvm
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|