blob: 1f7195b278fe34e8dddd5d1f3b514fc3c4ce08ff (
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
34
35
36
37
38
39
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author AJ Lewis <aj@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-misc/magicpoint/magicpoint-1.09a.ebuild,v 1.1 2002/03/21 08:46:14 seemant Exp $
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/"
DEPEND="virtual/glibc virtual/x11
ungif? ( >=media-libs/libungif-4.0.1 )
gif? ( >=media-libs/giflib-4.0.1 )"
src_compile() {
export LIBS="-L/usr/lib/ -L/usr/X11R6/lib/ -lX11"
if [ "`use gif`" ] && [ "`use ungif`" ] ; then
GIF_FLAG="--enable-gif";
else
GIF_FLAG="--disable-gif";
fi
./configure --with-x ${GIF_FLAG} || die
xmkmf || die
make Makefiles || die
make clean || die
make ${MAKEOPTS} || 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*
}
|