summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-01-07 14:47:41 +0000
committerJustin Lecher <jlec@gentoo.org>2014-01-07 14:47:41 +0000
commitfec5e9cb04e14ccdccaaa60aa25001de7c41b6d7 (patch)
tree1b27fb9b9a70cc45b35ed5491e7fc02885a9c91d /sci-chemistry
parentStable for HPPA (bug #492904). (diff)
downloadgentoo-2-fec5e9cb04e14ccdccaaa60aa25001de7c41b6d7.tar.gz
gentoo-2-fec5e9cb04e14ccdccaaa60aa25001de7c41b6d7.tar.bz2
gentoo-2-fec5e9cb04e14ccdccaaa60aa25001de7c41b6d7.zip
sci-chemistry/molequeue: Fix documentation installation
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/molequeue/ChangeLog5
-rw-r--r--sci-chemistry/molequeue/molequeue-0.7.1.ebuild24
2 files changed, 24 insertions, 5 deletions
diff --git a/sci-chemistry/molequeue/ChangeLog b/sci-chemistry/molequeue/ChangeLog
index 264b15c2112a..e9e799f97020 100644
--- a/sci-chemistry/molequeue/ChangeLog
+++ b/sci-chemistry/molequeue/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/molequeue
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molequeue/ChangeLog,v 1.4 2014/01/07 13:40:32 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molequeue/ChangeLog,v 1.5 2014/01/07 14:47:41 jlec Exp $
+
+ 07 Jan 2014; Justin Lecher <jlec@gentoo.org> molequeue-0.7.1.ebuild:
+ Fix documentation installation
07 Jan 2014; Justin Lecher <jlec@gentoo.org> +molequeue-0.7.1.ebuild,
metadata.xml:
diff --git a/sci-chemistry/molequeue/molequeue-0.7.1.ebuild b/sci-chemistry/molequeue/molequeue-0.7.1.ebuild
index 1f4d25754b30..560c44064cfd 100644
--- a/sci-chemistry/molequeue/molequeue-0.7.1.ebuild
+++ b/sci-chemistry/molequeue/molequeue-0.7.1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molequeue/molequeue-0.7.1.ebuild,v 1.1 2014/01/07 13:40:32 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molequeue/molequeue-0.7.1.ebuild,v 1.2 2014/01/07 14:47:41 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
-inherit cmake-utils multilib python-single-r1 versionator
+inherit cmake-utils multilib python-single-r1 versionator virtualx
DESCRIPTION="Abstract, manage and coordinate execution of tasks"
HOMEPAGE="http://www.openchemistry.org/OpenChemistry/project/molequeue.html"
@@ -18,13 +18,15 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="+client doc server test +zeromq"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
- server? ( client )"
+ server? ( client )
+ test? ( server )"
RDEPEND="${PYTHON_DEPS}
dev-qt/qtcore:4
dev-qt/qtgui:4
zeromq? ( net-libs/cppzmq )"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
src_configure() {
local mycmakeargs=(
@@ -40,3 +42,17 @@ src_configure() {
cmake-utils_src_configure
}
+
+src_compile() {
+ cmake-utils_src_compile all $(usex doc documentation)
+}
+
+src_test() {
+ VIRTUALX_COMMAND=cmake-utils_src_test
+ virtualmake
+}
+
+src_install() {
+ use doc && HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
+ cmake-utils_src_install
+}