1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/java/lightweight-java-profiler/Makefile
Muhammad Moinur Rahman 4cda17ab14 */*: Refactor java/openjdk7 removal
- java/openjdk7* has been removed from the tree since 2022-09-03 however
  the relevant codebases in bsd.java.mk has not been removed and the
  consumers has also not been updated to use the next jdk version. This
  commit updates all relevant consumers to use JAVA_VERSION=8 instead of
  JAVA_VERSION=1.7
- Since the introduction of jdk version 18 it looks like similar with
  jdk version 8(java version string 1.8). This is prone to error as it
  looks similar and is only seperated by a '.'. Remove using
  JAVA_VERSION with dotted fomat of java version string and update all
  consumers to utilize version 8 instead of 1.8.

Approved by:	portmgr (blanket)
2023-04-04 13:10:53 -05:00

46 lines
904 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
WWW= https://github.com/inevity/lightweight-java-profiler
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= 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>