diff options
Diffstat (limited to 'sci-chemistry/votca-xtp/votca-xtp-9999.ebuild')
-rw-r--r-- | sci-chemistry/votca-xtp/votca-xtp-9999.ebuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild b/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild index 40eff61cae68..15a8759ad217 100644 --- a/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild +++ b/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -29,24 +29,27 @@ RDEPEND=" ~sci-libs/votca-tools-${PV}[sqlite] >=dev-cpp/eigen-3.3 ~sci-chemistry/votca-csg-${PV} - ~sci-chemistry/votca-ctp-${PV} sci-libs/ceres-solver sci-libs/libxc" DEPEND="${RDEPEND} + >=app-text/txt2tags-2.5 + virtual/pkgconfig" + +if [ "${PV}" != "9999" ]; then + DEPEND="${DEPEND} doc? ( app-doc/doxygen[dot] dev-texlive/texlive-latexextra virtual/latex-base dev-tex/pgf - ) - >=app-text/txt2tags-2.5 - virtual/pkgconfig" + )" +fi DOCS=( README.md NOTICE CHANGELOG.md ) src_configure() { - mycmakeargs=( + [[ ${PV} = *9999* ]] && mycmakeargs=( -DBUILD_XTP_MANUAL=$(usex doc) ) cmake-utils_src_configure @@ -64,7 +67,7 @@ src_install() { pkg_postinst() { einfo einfo "Please read and cite:" - einfo "VOTCA-CTP, J. Chem. Theo. Comp. 7, 3335-3345 (2011)" - einfo "https://dx.doi.org/10.1021/ct200388s" + einfo "VOTCA-XTP, J. Chem. Theo. Comp. 14, 6353 (2018)" + einfo "https://doi.org/10.1021/acs.jctc.8b00617" einfo } |