aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-11-01 23:20:28 +0800
committerdanfe <danfe@FreeBSD.org>2013-11-01 23:20:28 +0800
commitce774b86296df6bc02e5b68ecebec4c4c2f6401e (patch)
tree786a1102c00bc643c5d0bc468ab9966598745f8d /biology
parent47b0cfe1069396ffe86d6a852fc7d93a285f9e0b (diff)
downloadfreebsd-ports-gnome-ce774b86296df6bc02e5b68ecebec4c4c2f6401e.tar.gz
freebsd-ports-gnome-ce774b86296df6bc02e5b68ecebec4c4c2f6401e.tar.zst
freebsd-ports-gnome-ce774b86296df6bc02e5b68ecebec4c4c2f6401e.zip
- Install official UGENE documentation (PDF)
- Utilize DIST_SUBDIR as now it's more than one distfile
Diffstat (limited to 'biology')
-rw-r--r--biology/ugene/Makefile13
-rw-r--r--biology/ugene/distinfo10
-rw-r--r--biology/ugene/pkg-plist1
3 files changed, 21 insertions, 3 deletions
diff --git a/biology/ugene/Makefile b/biology/ugene/Makefile
index e1a7817c020f..849354106843 100644
--- a/biology/ugene/Makefile
+++ b/biology/ugene/Makefile
@@ -5,6 +5,9 @@ PORTNAME= ugene
DISTVERSION= 1.12.3
CATEGORIES= biology
MASTER_SITES= http://ugene.unipro.ru/downloads/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTDOCS}
+DIST_SUBDIR= ${PORTNAME}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= h2+fbsdports@fsfe.org
COMMENT= Free, open-source, cross-platform bioinformatics toolkit
@@ -28,6 +31,13 @@ QMAKE_ARGS= INSTALL_PREFIX=${PREFIX} UGENE_INSTALL_DATA=${DATADIR} \
INSTALL_MANDIR=${MAN1PREFIX}/man
ALL_TARGET= release
+DOCSDIR= ${DATADIR}/manuals
+PORTDOCS= QueryDesigner_UserManual.pdf UniproUGENE_UserManual.pdf \
+ WorkflowDesigner_UserManual.pdf
+
+OPTIONS_DEFINE= DOCS
+DOCS_DESC= Install official UGENE documentation (PDF)
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 1000054
@@ -46,6 +56,9 @@ PLIST_SUB= NOX64=""
QMAKE_ARGS+= UGENE_SSE2_DETECTED=1
.endif
+post-extract:
+ ${CP} -p ${_DISTDIR}/*.pdf ${WRKSRC}/data/manuals
+
post-patch:
# yes, bash is required, stuff will not execute with sh
@${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' \
diff --git a/biology/ugene/distinfo b/biology/ugene/distinfo
index bad5b97da265..f98ab73b0828 100644
--- a/biology/ugene/distinfo
+++ b/biology/ugene/distinfo
@@ -1,2 +1,8 @@
-SHA256 (ugene-1.12.3.tar.gz) = 6642ec6ef5110b50b38c9620be4a98101d9a7b325a61a202ee7e0f2c67d45496
-SIZE (ugene-1.12.3.tar.gz) = 17611949
+SHA256 (ugene/ugene-1.12.3.tar.gz) = 6642ec6ef5110b50b38c9620be4a98101d9a7b325a61a202ee7e0f2c67d45496
+SIZE (ugene/ugene-1.12.3.tar.gz) = 17611949
+SHA256 (ugene/QueryDesigner_UserManual.pdf) = 3c5bd735c02b7ac24bd319823fde2d175b750adc1c37fe7b17e2009452a00ddd
+SIZE (ugene/QueryDesigner_UserManual.pdf) = 1306825
+SHA256 (ugene/UniproUGENE_UserManual.pdf) = 6c682c86f47a4c337eb4acdf0ae23ffa1b7fef1337d11e631655bfc943167b46
+SIZE (ugene/UniproUGENE_UserManual.pdf) = 12166178
+SHA256 (ugene/WorkflowDesigner_UserManual.pdf) = 077bdd961a2b5dd077b15e7ca6d658ca58cd80c01e5f2dfbb69744d651e85601
+SIZE (ugene/WorkflowDesigner_UserManual.pdf) = 1288440
diff --git a/biology/ugene/pkg-plist b/biology/ugene/pkg-plist
index e0f4ae7a6206..656da76b46ef 100644
--- a/biology/ugene/pkg-plist
+++ b/biology/ugene/pkg-plist
@@ -1276,7 +1276,6 @@ share/pixmaps/ugene.xpm
@dirrm %%DATADIR%%/position_weight_matrix/JASPAR/fungi
@dirrm %%DATADIR%%/position_weight_matrix/JASPAR
@dirrm %%DATADIR%%/position_weight_matrix
-@dirrm %%DATADIR%%/manuals
@dirrm %%DATADIR%%/enzymes
@dirrm %%DATADIR%%/cmdline
@dirrm %%DATADIR%%/biostruct3d_plugin