summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2013-03-09 02:43:23 +0000
committerChristoph Junghans <ottxor@gentoo.org>2013-03-09 02:43:23 +0000
commit451eeacab31dbf40a6ce9fec10ca08ec1aab679a (patch)
tree71f2cf6cc0a4c8b3305d68e4f992ce6f5adad18d /sci-physics/espresso
parentDon't install ChangeLog. It's not updated. (diff)
downloadgentoo-2-451eeacab31dbf40a6ce9fec10ca08ec1aab679a.tar.gz
gentoo-2-451eeacab31dbf40a6ce9fec10ca08ec1aab679a.tar.bz2
gentoo-2-451eeacab31dbf40a6ce9fec10ca08ec1aab679a.zip
version bump
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Diffstat (limited to 'sci-physics/espresso')
-rw-r--r--sci-physics/espresso/ChangeLog7
-rw-r--r--sci-physics/espresso/espresso-3.1.2.ebuild113
2 files changed, 119 insertions, 1 deletions
diff --git a/sci-physics/espresso/ChangeLog b/sci-physics/espresso/ChangeLog
index c621bca265f3..f3da7c0fbf53 100644
--- a/sci-physics/espresso/ChangeLog
+++ b/sci-physics/espresso/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-physics/espresso
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.12 2013/02/09 18:56:26 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.13 2013/03/09 02:43:23 ottxor Exp $
+
+*espresso-3.1.2 (09 Mar 2013)
+
+ 09 Mar 2013; Christoph Junghans <ottxor@gentoo.org> +espresso-3.1.2.ebuild:
+ version bump
09 Feb 2013; Pacho Ramos <pacho@gentoo.org> espresso-3.1.1.ebuild:
Use readme.gentoo.eclass for elog message (#456068)
diff --git a/sci-physics/espresso/espresso-3.1.2.ebuild b/sci-physics/espresso/espresso-3.1.2.ebuild
new file mode 100644
index 000000000000..8190ab31c114
--- /dev/null
+++ b/sci-physics/espresso/espresso-3.1.2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/espresso-3.1.2.ebuild,v 1.1 2013/03/09 02:43:23 ottxor Exp $
+
+EAPI=4
+
+inherit autotools-utils savedconfig
+
+DESCRIPTION="Extensible Simulation Package for Research on Soft matter"
+HOMEPAGE="http://www.espressomd.org"
+
+if [[ ${PV} = 9999 ]]; then
+ EGIT_REPO_URI="git://git.savannah.nongnu.org/espressomd.git"
+ EGIT_BRANCH="master"
+ AUTOTOOLS_AUTORECONF=1
+ inherit git-2
+else
+ SRC_URI="mirror://nongnu/${PN}md/${P}.tar.gz"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
+IUSE="X doc examples fftw mpi packages test -tk"
+REQUIRED_USE="tk? ( X )"
+
+RESTRICT="tk? ( test )"
+
+RDEPEND="
+ dev-lang/tcl
+ fftw? ( sci-libs/fftw:3.0 )
+ mpi? ( virtual/mpi )
+ packages? ( dev-tcltk/tcllib )
+ tk? ( >=dev-lang/tk-8.4.18-r1 )
+ X? ( x11-libs/libX11 )"
+
+DEPEND="${RDEPEND}
+ dev-lang/python
+ doc? (
+ || ( <app-doc/doxygen-1.7.6.1[-nodot] >=app-doc/doxygen-1.7.6.1[dot] )
+ dev-texlive/texlive-latexextra
+ virtual/latex-base )"
+
+DOCS=( AUTHORS NEWS README ChangeLog )
+
+src_configure() {
+ myeconfargs=(
+ $(use_with fftw) \
+ $(use_with mpi) \
+ $(use_with tk) \
+ $(use_with X x)
+ )
+ autotools-utils_src_configure
+ restore_config myconfig.h
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ use doc && autotools-utils_src_compile doxygen
+ [[ ${PV} = 9999 ]] && use doc && autotools-utils_src_compile ug dg tutorials
+}
+
+src_install() {
+ local i
+
+ autotools-utils_src_install
+
+ insinto /usr/share/${PN}
+ doins ${AUTOTOOLS_BUILD_DIR}/myconfig-sample.h
+
+ save_config ${AUTOTOOLS_BUILD_DIR}/src/myconfig-final.h
+
+ if use doc; then
+ if [[ ${PV} = 9999 ]] ; then
+ newdoc "${AUTOTOOLS_BUILD_DIR}"/doc/dg/dg.pdf developer_guide.pdf
+ newdoc "${AUTOTOOLS_BUILD_DIR}"/doc/ug/ug.pdf user_guide.pdf
+ for i in "${AUTOTOOLS_BUILD_DIR}"/doc/tutorials/*/[0-9]*.pdf; do
+ newdoc "${i}" "tutorial_${i##*/}"
+ done
+ else
+ newdoc "${S}"/doc/ug/ug.pdf user_guide.pdf
+ for i in "${S}"/doc/tutorials/*/[0-9]*.pdf; do
+ newdoc "${i}" "tutorial_${i##*/}"
+ done
+ fi
+ dohtml -r "${AUTOTOOLS_BUILD_DIR}"/doc/doxygen/html/*
+ fi
+
+ if use examples; then
+ insinto /usr/share/${PN}/examples
+ doins -r samples/*
+ fi
+
+ if use packages; then
+ insinto /usr/share/${PN}/packages
+ doins -r packages/*
+ fi
+}
+
+pkg_postinst() {
+ elog
+ elog "Please read and cite:"
+ elog "ESPResSo, Comput. Phys. Commun. 174(9) ,704, 2006."
+ elog "http://dx.doi.org/10.1016/j.cpc.2005.10.005"
+ elog
+ elog "If you need more features, change"
+ elog "/etc/portage/savedconfig/${CATEGORY}/${PF}"
+ elog "and reemerge with USE=savedconfig"
+ elog
+ elog "For a full feature list see:"
+ elog "/usr/share/${PN}/myconfig-sample.h"
+ elog
+}