freebsd-ports/biology/fastqc/Makefile
Jason W. Bacon a5b1448e8e biology/fastqc: Update to 0.12.1
Several feature enhancements and a few bug fixes
Changes: https://github.com/s-andrews/FastQC/releases

Reported by:    portscout
2023-03-04 18:17:20 -06:00

40 lines
1.2 KiB
Makefile

PORTNAME= fastqc
DISTVERSION= 0.12.1
CATEGORIES= biology java perl5
MASTER_SITES= https://www.bioinformatics.babraham.ac.uk/projects/fastqc/
DISTNAME= ${PORTNAME}_v${DISTVERSIONPREFIX}${DISTVERSION}
MAINTAINER= jwb@FreeBSD.org
COMMENT= Quality control tool for high throughput sequence data
WWW= https://www.bioinformatics.babraham.ac.uk/projects/fastqc/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= zip perl5 shebangfix
USE_JAVA= yes
USE_PERL5= run
SHEBANG_FILES= fastqc
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/FastQC
post-patch:
${REINPLACE_CMD} \
-e 's|$$RealBin$$delimiter|${DATADIR}$$delimiter${JAVAJARDIR}/fastqc$$delimiter|g' \
-e 's|$$RealBin/|${JAVAJARDIR}/fastqc/|g' \
${WRKSRC}/fastqc
# Help files are not optional docs, but required for Help menu functionality
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/fastqc
${INSTALL_DATA} ${WRKSRC}/*.jar ${STAGEDIR}${JAVAJARDIR}/fastqc
${INSTALL_SCRIPT} ${WRKSRC}/fastqc ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC} && ${COPYTREE_SHARE} "Configuration Help Templates" \
${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "net org uk" \
${STAGEDIR}${JAVAJARDIR}/fastqc
.include <bsd.port.mk>