Date: Mon, 19 Apr 2021 11:12:12 -0500 From: Jason Bacon <bacon4000@gmail.com> To: Mathieu Arnold <mat@freebsd.org>, Mateusz Piotrowski <0mp@freebsd.org> Cc: "Jason W. Bacon" <jwb@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 5164d38ee538 - main - biology/snpeff: Genetic variant annotation and effect prediction toolbox Message-ID: <9839d650-cabc-1ad1-0f5b-fabecd3fb9d1@gmail.com> In-Reply-To: <20210419090342.bc5hep4f3wyggql6@aching.in.mat.cc> References: <202104181847.13IIl8nX040293@gitrepo.freebsd.org> <5fffb95d-f470-6fe3-936e-7bd34f09e9be@FreeBSD.org> <20210419090342.bc5hep4f3wyggql6@aching.in.mat.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/19/21 4:03 AM, Mathieu Arnold wrote: > On Sun, Apr 18, 2021 at 09:27:59PM +0200, Mateusz Piotrowski wrote: >> Hi! >> >> Since DISTNAME is not unique you may consider setting DIST_SUBDIR. > not may, must. Yeah, I should have caught that one, thanks! >>> + >>> +do-install: >>> + ${MKDIR} ${STAGEDIR}${JAVAJARDIR}/snpeff >>> + ${MKDIR} ${STAGEDIR}${LIBEXEC_DIR} >>> + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/snpEff ${STAGEDIR}${PREFIX}/bin= >>> + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/snpSift ${STAGEDIR}${PREFIX}/bi= n >>> + ${INSTALL_DATA} ${WRKSRC}/*.jar ${STAGEDIR}${JAVAJARDIR}/snpeff >>> + ${INSTALL_DATA} ${WRKSRC}/*.config ${STAGEDIR}${JAVAJARDIR}/snpeff >>> + cd ${WRKSRC}/scripts && ${COPYTREE_BIN} . ${STAGEDIR}${LIBEXEC_DIR}= >>> + >>> +pre-configure: >>> + ${REINPLACE_CMD} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|g' \ >>> + -e 's|%%PREFIX%%|${PREFIX}|g' \ >>> + ${WRKSRC}/scripts/snpEff ${WRKSRC}/scripts/snpSift >> A minor style issue: the targets are out of order. That's just fatigue...=A0 ;-/ >> >>> ++JAVA_HOME=3D%%PREFIX%%/openjdk12 >> This should probably be LOCALBASE instead of PREFIX. Also, it's probab= ly >> better to just pass JAVA_HOME to REINPLACE_CMD (as currently this port=20 is >> going to break if it uses a Java version other than OpenJDK 12 (and th= e >> Makefile specifies 12+). Good idea! Best, =A0=A0=A0 JB --=20 Earth is a beta site.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9839d650-cabc-1ad1-0f5b-fabecd3fb9d1>