summaryrefslogtreecommitdiff
blob: cc8cf974c4334e073b048c82d742634038b458c6 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild,v 1.1 2004/12/24 15:03:11 ribosome Exp $

inherit kde
need-kde 3.2

MY_PV=2.2-4
MY_P=${PN}-${MY_PV}
S=${WORKDIR}/${PN}-${MY_PV}

DESCRIPTION="PG Calculator is a powerful scientific calculator."
SRC_URI="mirror://sourceforge/${PN/2/}/${MY_P}.tar.gz"
HOMEPAGE="http://www.pgcalc.net"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""
SLOT="0"

pkg_postinst() {
	posbs=(`ls ${S}/skins`)
	length=${#posbs}
	count=0
	einfo "To use another skin, start ${PN} with one of"
	einfo "the following options (case sensitive):"
	einfo ""
	while [ "${count}" -lt $((${length}+1)) ]
	do
		einfo "${posbs[${count}]}: '${PN} --skinname=${posbs[${count}]}'"
		count=$((${count}+1))
	done
	einfo ""
	einfo "The documentation is available at"
	einfo "/usr/share/doc/${PF}/html/index.htm"
	einfo ""
}