summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-02-09 18:56:26 +0000
committerPacho Ramos <pacho@gentoo.org>2013-02-09 18:56:26 +0000
commitc792655df8b7bb000afc22dbd2a08c6254b7b5ba (patch)
tree6cf9b5e6e36426dc9c5572a127ce54fd4ad5b8f7 /sci-physics
parentA haskell library to 'Locate directory of original program'. A darcs-2.8.4+ d... (diff)
downloadgentoo-2-c792655df8b7bb000afc22dbd2a08c6254b7b5ba.tar.gz
gentoo-2-c792655df8b7bb000afc22dbd2a08c6254b7b5ba.tar.bz2
gentoo-2-c792655df8b7bb000afc22dbd2a08c6254b7b5ba.zip
Use readme.gentoo.eclass for elog message (#456068)
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/espresso/ChangeLog7
-rw-r--r--sci-physics/espresso/espresso-3.1.1.ebuild36
2 files changed, 26 insertions, 17 deletions
diff --git a/sci-physics/espresso/ChangeLog b/sci-physics/espresso/ChangeLog
index 2d5982df143c..c621bca265f3 100644
--- a/sci-physics/espresso/ChangeLog
+++ b/sci-physics/espresso/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-physics/espresso
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.11 2012/10/09 08:52:29 ottxor Exp $
+# 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 $
+
+ 09 Feb 2013; Pacho Ramos <pacho@gentoo.org> espresso-3.1.1.ebuild:
+ Use readme.gentoo.eclass for elog message (#456068)
*espresso-3.1.1 (09 Oct 2012)
diff --git a/sci-physics/espresso/espresso-3.1.1.ebuild b/sci-physics/espresso/espresso-3.1.1.ebuild
index 27e2a5ef661f..984b8d295695 100644
--- a/sci-physics/espresso/espresso-3.1.1.ebuild
+++ b/sci-physics/espresso/espresso-3.1.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# 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.1.ebuild,v 1.1 2012/10/09 08:52:29 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/espresso-3.1.1.ebuild,v 1.2 2013/02/09 18:56:26 pacho Exp $
EAPI=4
-inherit autotools-utils savedconfig
+inherit autotools-utils readme.gentoo savedconfig
DESCRIPTION="Extensible Simulation Package for Research on Soft matter"
HOMEPAGE="http://www.espressomd.org"
@@ -50,6 +50,20 @@ src_prepare() {
#tclline uses stty, which has different exit code on Darwin
sed -i '/source.*tclline/s/^/#/' "scripts/init.tcl" || die
fi
+
+ DISABLE_AUTOFORMATTING="yes"
+ DOC_CONTENTS=( "
+Please read and cite:
+ESPResSo, Comput. Phys. Commun. 174(9) ,704, 2006.
+http://dx.doi.org/10.1016/j.cpc.2005.10.005
+
+If you need more features, change
+/etc/portage/savedconfig/${CATEGORY}/${PF}
+and reemerge with USE=savedconfig
+
+For a full feature list see:
+/usr/share/${PN}/myconfig-sample.h
+ " )
}
src_configure() {
@@ -103,19 +117,11 @@ src_install() {
insinto /usr/share/${PN}/packages
doins -r packages/*
fi
+
+ readme.gentoo_create_doc
}
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
+ savedconfig_pkg_postinst
+ readme.gentoo_pkg_postinst
}