aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorjrm <jrm@FreeBSD.org>2016-12-21 01:01:27 +0800
committerjrm <jrm@FreeBSD.org>2016-12-21 01:01:27 +0800
commitd15a681e7dcf584d111cd994c49f3d38d8c15440 (patch)
treea5302d5e256d8a4fb84d8cd92dfd5bd4071e58fe /biology
parentc653a0a663f3160d532e2b1fbbfd7edc7c9fc318 (diff)
downloadfreebsd-ports-gnome-d15a681e7dcf584d111cd994c49f3d38d8c15440.tar.gz
freebsd-ports-gnome-d15a681e7dcf584d111cd994c49f3d38d8c15440.tar.zst
freebsd-ports-gnome-d15a681e7dcf584d111cd994c49f3d38d8c15440.zip
biology/bowtie2: Update to version 2.2.9
- Update license information. - Add python to USES (bowtie2-build bowtie2-inspect need python) - Add DOCS and EXAMPLES options Approved by: AMDmi3 (mentor) swills (mentor) Differential Revision: https://reviews.freebsd.org/D8182
Diffstat (limited to 'biology')
-rw-r--r--biology/bowtie2/Makefile27
-rw-r--r--biology/bowtie2/distinfo5
2 files changed, 18 insertions, 14 deletions
diff --git a/biology/bowtie2/Makefile b/biology/bowtie2/Makefile
index 459bc46bd71c..a09862b29506 100644
--- a/biology/bowtie2/Makefile
+++ b/biology/bowtie2/Makefile
@@ -1,25 +1,28 @@
# Created by: Jason Bacon
# $FreeBSD$
-PORTNAME= bowtie2
-PORTVERSION= 2.2.8
+PORTNAME= bowtie2
+PORTVERSION= 2.2.9
DISTVERSIONPREFIX= v
-CATEGORIES= biology
+CATEGORIES= biology
MAINTAINER= bacon4000@gmail.com
COMMENT= Ultrafast, memory-efficient short read aligner
-LICENSE= GPLv3
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/LICENSE
# May also work on other 64-bit platforms, but untested
ONLY_FOR_ARCHS= amd64
-USES= gmake perl5 shebangfix
+USES= gmake perl5 python shebangfix
USE_PERL5= run
-SHEBANG_FILES= scripts/*.pl
+SHEBANG_FILES= bowtie2-build bowtie2-inspect scripts/*.pl
USE_GITHUB= yes
GH_ACCOUNT= BenLangmead
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}/scripts
${INSTALL_PROGRAM} \
@@ -30,11 +33,11 @@ post-install:
${WRKSRC}/scripts/*.sh \
${WRKSRC}/scripts/*.pl \
${STAGEDIR}${DATADIR}/scripts
- cd ${WRKSRC}/example && ${COPYTREE_SHARE} \
- 'index reads reference' \
- ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
- \* \
- ${STAGEDIR}${DOCSDIR}
+
+post-install-DOCS-on:
+ (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
+post-install-EXAMPLES-on:
+ (cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
diff --git a/biology/bowtie2/distinfo b/biology/bowtie2/distinfo
index 2b548acf00f2..32a39c53fefa 100644
--- a/biology/bowtie2/distinfo
+++ b/biology/bowtie2/distinfo
@@ -1,2 +1,3 @@
-SHA256 (BenLangmead-bowtie2-v2.2.8_GH0.tar.gz) = e4795f5779dfdefffcc9c341239c1fb6f7d78e15528c6094d9c580a5c0e87ac1
-SIZE (BenLangmead-bowtie2-v2.2.8_GH0.tar.gz) = 5814699
+TIMESTAMP = 1475861880
+SHA256 (BenLangmead-bowtie2-v2.2.9_GH0.tar.gz) = af940f77fc36aabea90d3d865724fd7ec7e250788d2d2f793c45c713d16ae5ee
+SIZE (BenLangmead-bowtie2-v2.2.9_GH0.tar.gz) = 5815106