blob: 17985c5a28ad343060c621caac25a93749f4945d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/xdrawchem/xdrawchem-1.6.ebuild,v 1.6 2003/08/05 18:41:03 vapier Exp $
DESCRIPTION="a molecular structure drawing program"
HOMEPAGE="http://www.prism.gatech.edu/~gte067k/${PN}"
SRC_URI="http://www.prism.gatech.edu/~gte067k/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~sparc"
IUSE="qt"
DEPEND="qt? ( >=x11-libs/qt-3.0.0 )"
#if you would like to use app-sci/babel instead of included openbabel, please uncomment the following 2 lines
#RDEPEND="${DEPEND}
# app-sci/babel"
src_compile() {
./configure --prefix=/usr || die
emake -f Makefile INSTRING=/usr/share/xdrawchem || die
}
src_install() {
dodir /usr/bin
dobin xdrawchem/xdrawchem
dodir /usr/share/${PN}
insinto /usr/share/${PN}
doins ring/*
dodoc README.txt TODO.txt COPYRIGHT.txt HISTORY.txt
}
|