freebsd-ports/biology/picard-tools/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

36 lines
790 B
Makefile

PORTNAME= picard
DISTVERSION= 2.22.9
CATEGORIES= biology java
MASTER_SITES= http://github.com/broadinstitute/picard/releases/download/${PORTVERSION}/
PKGNAMESUFFIX= -tools
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .jar
MAINTAINER= jwb@FreeBSD.org
COMMENT= CLI tools for manipulating high-throughput sequencing (HTS) data
WWW= https://broadinstitute.github.io/picard/
LICENSE= MIT
RUN_DEPENDS= samtools:biology/samtools
USE_JAVA= 8+
JAVA_RUN= yes
CONFLICTS_INSTALL= picard # bin/picard
SUB_FILES= picard
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/picard ${JAVAJARDIR}/picard.jar
do-extract:
# No extract
do-install:
${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
${STAGEDIR}${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/picard ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>