blob: 49fcd206356c31578b61f81932f7c8ac5273c868 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $FreeBSD$
PORTNAME= fastqc
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.5
CATEGORIES= biology java perl5
MASTER_SITES= https://www.bioinformatics.babraham.ac.uk/projects/fastqc/
DISTNAME= ${PORTNAME}_${DISTVERSIONPREFIX}${DISTVERSION}
MAINTAINER= jwb@FreeBSD.org
COMMENT= Quality control tool for high throughput sequence data
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
NO_ARCH= yes
NO_BUILD= yes
USES= zip perl5 shebangfix
SHEBANG_FILES= fastqc
USE_JAVA= yes
USE_PERL5= run
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>
|