Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 15:20:29 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332391 - head/biology/ugene
Message-ID:  <201311011520.rA1FKTvd034624@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Nov  1 15:20:28 2013
New Revision: 332391
URL: http://svnweb.freebsd.org/changeset/ports/332391

Log:
  - Install official UGENE documentation (PDF)
  - Utilize DIST_SUBDIR as now it's more than one distfile

Modified:
  head/biology/ugene/Makefile
  head/biology/ugene/distinfo
  head/biology/ugene/pkg-plist

Modified: head/biology/ugene/Makefile
==============================================================================
--- head/biology/ugene/Makefile	Fri Nov  1 15:08:09 2013	(r332390)
+++ head/biology/ugene/Makefile	Fri Nov  1 15:20:28 2013	(r332391)
@@ -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} UGE
 		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|' \

Modified: head/biology/ugene/distinfo
==============================================================================
--- head/biology/ugene/distinfo	Fri Nov  1 15:08:09 2013	(r332390)
+++ head/biology/ugene/distinfo	Fri Nov  1 15:20:28 2013	(r332391)
@@ -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

Modified: head/biology/ugene/pkg-plist
==============================================================================
--- head/biology/ugene/pkg-plist	Fri Nov  1 15:08:09 2013	(r332390)
+++ head/biology/ugene/pkg-plist	Fri Nov  1 15:20:28 2013	(r332391)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311011520.rA1FKTvd034624>