commit:     688d1d248fb1ec8855ee707f4ff28ab3ff4161bf
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 12 08:12:29 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jan 12 08:12:29 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=688d1d24

sci-libs/symmetrica: Minor fixes

---
 sci-libs/symmetrica/symmetrica-2.0.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/sci-libs/symmetrica/symmetrica-2.0.ebuild 
b/sci-libs/symmetrica/symmetrica-2.0.ebuild
index 2df7c4f..e3056ef 100644
--- a/sci-libs/symmetrica/symmetrica-2.0.ebuild
+++ b/sci-libs/symmetrica/symmetrica-2.0.ebuild
@@ -8,7 +8,7 @@ inherit versionator
 
 DESCRIPTION="A collection of routine to handle a variety of topics"
 
HOMEPAGE="http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/index.html";
-MY_P=SYM$(replace_all_version_separators '_')
+MY_P=SYM${PV//./_}
 
SRC_URI="http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/${MY_P}_tar.gz
 -> ${MY_P}.tar.gz"
 
 LICENSE="MIT"
@@ -27,8 +27,6 @@ src_prepare() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" install
-
-#      symmetrica's documentation are just text files with a ".doc" extension.
-       dodoc README *.doc
+       default
+       use doc && dodoc *.doc
 }

Reply via email to