diff options
Diffstat (limited to 'app-office/magicpoint/magicpoint-1.09a-r1.ebuild')
-rw-r--r-- | app-office/magicpoint/magicpoint-1.09a-r1.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/app-office/magicpoint/magicpoint-1.09a-r1.ebuild b/app-office/magicpoint/magicpoint-1.09a-r1.ebuild new file mode 100644 index 000000000000..1a8f18c87ddc --- /dev/null +++ b/app-office/magicpoint/magicpoint-1.09a-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/magicpoint-1.09a-r1.ebuild,v 1.1 2003/12/15 17:47:45 usata Exp $ + +IUSE="truetype gif nls imlib" + +S=${WORKDIR}/${P} +DESCRIPTION="an X11 based presentation tool" +SRC_URI="ftp://ftp.mew.org/pub/MagicPoint/${P}.tar.gz" +HOMEPAGE="http://www.mew.org/mgp/" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="x86" + +DEPEND="virtual/x11 + gif? ( >=media-libs/libungif-4.0.1 ) + imlib? ( media-libs/imlib ) + truetype? ( >=media-libs/freetype-1.3.1 )" + +RDEPEND="${DEPEND} + nls? ( sys-devel/gettext )" + +src_compile() { + + local myconf + + use gif \ + && myconf="${myconf} --enable-gif" \ + || myconf="${myconf} --disable-gif" + + use imlib \ + && myconf="${myconf} --enable-imlib" \ + || myconf="${myconf} --disable-imlib" + + use truetype \ + || myconf="${myconf} --disable-freetype" + + use nls \ + && myconf="${myconf} --enable-locale" \ + || myconf="${myconf} --disable-locale" + + use nls && use truetype \ + && myconf="${myconf} --enable-freetype-charset16" + + export LIBS="-L/usr/lib/ -L/usr/X11R6/lib/ -lX11" + + ./configure \ + --with-xa \ + --disable-vflib \ + ${myconf} || die + + xmkmf || die + make Makefiles || die + make clean || die + make || die +} + +src_install() { + make \ + DESTDIR=${D} \ + install || die + + make \ + DESTDIR=${D} \ + DOCHTMLDIR=/usr/share/doc/${P} \ + MANPATH=/usr/share/man \ + MANSUFFIX=1 \ + install.man || die + + dodoc COPYRIGHT* FAQ README* RELNOTES SYNTAX TODO* USAGE* +} |