diff options
Diffstat (limited to 'app-sci/xdrawchem/xdrawchem-1.7.3.ebuild')
-rw-r--r-- | app-sci/xdrawchem/xdrawchem-1.7.3.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-sci/xdrawchem/xdrawchem-1.7.3.ebuild b/app-sci/xdrawchem/xdrawchem-1.7.3.ebuild new file mode 100644 index 000000000000..ef273c13deea --- /dev/null +++ b/app-sci/xdrawchem/xdrawchem-1.7.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-sci/xdrawchem/xdrawchem-1.7.3.ebuild,v 1.1 2003/07/16 09:55:23 robh Exp $ + +IUSE="qt" + +S=${WORKDIR}/${P} +DESCRIPTION="XDrawChem--a molecular structure drawing program." +SRC_URI="http://www.prism.gatech.edu/~gte067k/${PN}/${P}.tgz" +HOMEPAGE="http://www.prism.gatech.edu/~gte067k/${PN}" + +KEYWORDS="~x86 ~ppc ~sparc " +SLOT="0" +LICENSE="GPL-2" + +DEPEND="qt? ( >=qt-3.1.0 )" + +src_compile() { + ./configure --prefix=/usr || die + # make sure we use moc from Qt, not from eg media-sound/moc + sed -i /^MOC/s/moc/$(echo ${QTDIR}|sed 's/\//\\\//g')\\/bin\\/moc/ xdrawchem/Makefile + 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 + dohtml doc/* +} + |