forked from Lainports/freebsd-ports
A big Thank You to the original contributors of these ports: * Alex Dupre <ale@FreeBSD.org> * Alex Semenyaka <alex@rinet.ru> * Alexander Yerenkow <yerenkow@gmail.com> * Anton Yudin (<contact@toha.org.ua>) * Anton Yudin <toha@toha.org.ua> * Benjamin Close <benjsc@FreeBSD.org> * Björn König <bkoenig@alpha-tierchen.de> * Conor McDermottroe <ports@mcdermottroe.com> * Danilo Egea Gondolfo <danilo@FreeBSD.org * Dave Glowacki <dglo@ssec.wisc.edu> * Ernst de Haan <znerd@FreeBSD.org> * Eugene Grosbein <ports@grosbein.net> * Filippo Natali <filippo@widestore.net> * Gerrit Beine <gerrit.beine@gmx.de> * Greg Lewis <glewis@FreeBSD.org> * Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> * Jason Helfman <jgh@FreeBSD.org> * Jeremy <karlj000@unbc.ca> * Johannes Dieterich <dieterich@ogolem.org> * Johannes Dieterich <jmd@FreeBSD.org> * Jonathan Chen <jonc@chen.org.nz> * Jose Marques * Jose Marques <noway@nohow.demon.co.uk> * Lapo Luchini <lapo@lapo.it> * Lev Serebryakov <lev@FreeBSD.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Matthew Dillon <dillon@backplane.com> * Maxim Sobolev <sobomax@FreeBSD.org> * Mikhail T. <mi@aldan.algebra.com> * Mikhail T. <michael@fun-box.ru> * Mikhail Teterin * Nicola Vitale <nivit@FreeBSD.org> * Nicola Vitale <nivit@email.it> * OISHI Masakuni <yamasa@bsdhouse.org> * OKAZAKI Tetsurou * Pedro Giffuni * Simeo Reig <reig.simeo@gmail.com> * Sutra Zhou <zhoushuqun@gmail.com> * Tom Judge <tj@FreeBSD.org> * Volker Stolz <vs@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> * gldisater@gldis.ca * ijliao * jake@checker.org * jpbeconne * lon_kamikaze@gmx.de * mi * nordwick@xcf.berkeley.edu * nork@FreeBSD.org * olgeni@FreeBSD.org * rasputin * rfarmer@predatorlabs.net * rtdean@cytherianage.net * tux@pinguru.net With hat: portmgr
44 lines
847 B
Makefile
44 lines
847 B
Makefile
PORTNAME= lightweight-java-profiler
|
|
PORTVERSION= g20170308
|
|
CATEGORIES= java devel
|
|
|
|
MAINTAINER= jmd@FreeBSD.org
|
|
COMMENT= Lightweight Java profiler which can be used for flamegraphs
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= bash>=0:shells/bash
|
|
RUN_DEPENDS= bash>=0:shells/bash
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
ONLY_FOR_ARCHS_REASON= assembly only available for x86
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= inevity
|
|
GH_TAGNAME= e8041b5
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.8
|
|
|
|
USE_LDCONFIG= yes
|
|
USES= gmake shebangfix
|
|
|
|
SHEBANG_FILES= Makefile
|
|
|
|
MAKE_ENV= JAVA_HOME=${LOCALBASE}/openjdk8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "i386"
|
|
MAKE_ENV+= BITS=32
|
|
.else
|
|
MAKE_ENV+= BITS=64
|
|
.endif
|
|
|
|
PLIST_FILES= lib/liblagent.so
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/build/liblagent.so ${STAGEDIR}/${LOCALBASE}/lib/liblagent.so
|
|
|
|
.include <bsd.port.post.mk>
|