/[gentoo-x86]/sci-mathematics/nauty/nauty-2.4.2.ebuild
Gentoo

Contents of /sci-mathematics/nauty/nauty-2.4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed May 16 12:47:23 2012 UTC (2 years, 1 month ago) by tomka
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +7 -3 lines
Install pdf manual with USE='doc'.  (Bug 415939)

(Portage version: 2.1.10.60/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/nauty/nauty-2.4.2.ebuild,v 1.3 2010/12/18 12:10:38 hwoarang Exp $
4
5 EAPI="2"
6
7 inherit versionator
8
9 MY_PV=$(replace_version_separator 2 'r')
10 MY_PV=$(delete_version_separator 1 ${MY_PV})
11
12 DESCRIPTION="program for computing automorphism groups of graphs and digraphs."
13 HOMEPAGE="http://cs.anu.edu.au/~bdm/nauty/"
14 SRC_URI="http://cs.anu.edu.au/~bdm/${PN}/${PN}${MY_PV}.tar.gz"
15
16 LICENSE="nauty"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE="doc"
20
21 S="${WORKDIR}/${PN}${MY_PV}"
22
23 src_prepare () {
24 sed -i "s/LDFLAGS=/LDFLAGS=${LDFLAGS}/" makefile.in || die
25 }
26
27 src_test () {
28 make checks || die "tests failed"
29 }
30
31 src_install () {
32 dobin addedgeg amtog biplabg catg complg copyg countg \
33 deledgeg directg dreadnaut dretog genbg geng genrang \
34 gentourng labelg listg multig newedgeg NRswitchg pickg \
35 planarg shortg showg || die "install failed"
36 dodoc README formats.txt
37 if use doc; then
38 einfo "The pdf manual is to be found in /usr/share/doc/${PF}."
39 dodoc nug.pdf
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20