1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

biology/igv: Update 2.4.10 -> 2.4.15

Port changes:
* Change to gradle, corresponding updates in build, install, environment, etc.

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2018-11-04 22:55:24 +00:00
parent 1620a5462f
commit 1caf88f57e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484156
3 changed files with 21 additions and 24 deletions

View File

@ -2,9 +2,9 @@
PORTNAME= igv
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.10
DISTVERSION= 2.4.15
CATEGORIES= biology java
MASTER_SITES= http://www.broadinstitute.org/software/igv/sites/cancerinformatics.org.igv/files/images/:img
MASTER_SITES= http://software.broadinstitute.org/software/igv/sites/cancerinformatics.org.igv/files/images/:img
DISTFILES= tools.png:img
DIST_SUBDIR= ${PORTNAME}-${DISTVERSION}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@ -15,32 +15,39 @@ COMMENT= Visualization tool for genomic datasets
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/license.txt
BUILD_DEPENDS= openjfx8-devel>0:java/openjfx8-devel
BUILD_DEPENDS= openjfx8-devel>0:java/openjfx8-devel \
gradle:devel/gradle
RUN_DEPENDS= openjfx8-devel>0:java/openjfx8-devel
USES= gettext-runtime
USE_GITHUB= yes
GH_ACCOUNT= igvteam
USE_JAVA= yes
USE_ANT= yes
NO_ARCH= yes
MAKE_ENV+= GRADLE_USER_HOME=${WRKDIR}
SUB_FILES= ${PORTNAME}.sh
DESKTOP_ENTRIES="IGV" "Integrative Genomics Viewer" "${PREFIX}/share/pixmaps/igv.xpm" "${PORTNAME}" \
"Biology;Science;" true
PLIST_FILES= bin/${PORTNAME} \
${JAVAJARDIR}/batik-codec__V1.7.jar \
${JAVAJARDIR}/goby-io-igv__V1.0.jar \
${JAVAJARDIR}/batik-codec-1.10.jar \
${JAVAJARDIR}/goby-io-igv-1.1.jar \
${JAVAJARDIR}/log4j-core-2.11.0.jar \
${JAVAJARDIR}/${PORTNAME}.jar \
share/pixmaps/igv.png
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gradle createDist
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/batik-codec__V1.7.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/goby-io-igv__V1.0.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/build/IGV-dist/lib/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/build/IGV-dist/lib/batik-codec-1.10.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/build/IGV-dist/lib/goby-io-igv-1.1.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/build/IGV-dist/lib/log4j-core-2.11.0.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tools.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1529969906
SHA256 (igv-2.4.10/tools.png) = 7a619d7770da008d1bc23a60a07f416625ba3a404a3656b8d1bda0de97415d1c
SIZE (igv-2.4.10/tools.png) = 5139
SHA256 (igv-2.4.10/igvteam-igv-v2.4.10_GH0.tar.gz) = 2547050f768384ea14f88962476c6935115e6b2e35322874e4a93c6da7194e73
SIZE (igv-2.4.10/igvteam-igv-v2.4.10_GH0.tar.gz) = 152822902
TIMESTAMP = 1541357814
SHA256 (igv-2.4.15/tools.png) = 7a619d7770da008d1bc23a60a07f416625ba3a404a3656b8d1bda0de97415d1c
SIZE (igv-2.4.15/tools.png) = 5139
SHA256 (igv-2.4.15/igvteam-igv-v2.4.15_GH0.tar.gz) = 8cd1da4a90b3607fd1d2840877497afa8a11b2bdbb69d1ead02ca401153ce6b0
SIZE (igv-2.4.15/igvteam-igv-v2.4.15_GH0.tar.gz) = 141294377

View File

@ -1,10 +0,0 @@
--- build.xml.orig 2018-06-25 21:00:29 UTC
+++ build.xml
@@ -177,6 +177,7 @@
<sequential>
<jar destfile="${jar.path}" basedir="${tmp.dir}" compress="true" duplicate="preserve">
<fileset refid="@{includedFileset}"/>
+ <zipgroupfileset dir="${lib.dir}" includes="**/*.jar" />
<manifest>
<attribute name="Permissions" value="all-permissions"/>