summaryrefslogtreecommitdiff
blob: 11b9fada10076a10ffd2b9bb0526015b7b5a3772 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/adobesvg/adobesvg-3.01_beta3.ebuild,v 1.3 2004/07/14 06:21:26 mr_bones_ Exp $

inherit nsplugins

MY_BV=88
MY_PV=${PV/_beta3/x${MY_BV}}
DESCRIPTION="Scalable Vector Graphics plugin"
HOMEPAGE="http://www.adobe.com/svg/main.html"
SRC_URI="http://download.adobe.com/pub/adobe/magic/svgviewer/linux/3.x/3.01x${MY_BV}/en/${PN}-${MY_PV}-linux-i386.tar.gz"

LICENSE="Adobe"
SLOT="0"
KEYWORDS="-* x86"
IUSE=""

S="${WORKDIR}/${PN}-3.01"

src_install() {
	insinto /usr/lib/adobesvg
	doins *.so LICENSE.txt

	dodir /opt/netscape/plugins
	dosym /usr/lib/adobesvg/libNPSVG3.so /opt/netscape/plugins/libNPSVG3.so
	inst_plugin /opt/netscape/plugins/libNPSVG3.so

	dohtml -A svg *.html *.svg
}