summaryrefslogtreecommitdiff
blob: e8ee8537955b090ad804e05319203d5e81a44824 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-zope/plone/plone-2.1.4.ebuild,v 1.1 2006/09/24 20:04:39 radek Exp $

inherit zproduct

MY_P="Plone-2.1.4"
DESCRIPTION="A Zope Content Management System, based on Zope CMF."
HOMEPAGE="http://plone.org"
SRC_URI="mirror://sourceforge/plone/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="2.1"
KEYWORDS="~x86 ~sparc ~ppc ~amd64"
IUSE=""

DEPEND="app-admin/zope-config"
RDEPEND="
	>=dev-python/imaging-1.1.5
	>=www-client/lynx-2.8.5
	|| (
		=net-zope/zope-2.7*
		=net-zope/zope-2.8*
	)
	"

S="${WORKDIR}/${MY_P}"

ZPROD_LIST="
	ATContentTypes
	ATReferenceBrowserWidget
	Archetypes
	BTreeFolder2
	CMFActionIcons
	CMFCalendar
	CMFCore
	CMFDefault
	CMFDynamicViewFTI
	CMFFormController
	CMFPlone
	CMFQuickInstallerTool
	CMFSetup
	CMFTopic
	CMFUid
	DCWorkflow
	ExtendedPathIndex
	ExternalEditor
	GroupUserFolder
	MimetypesRegistry
	PlacelessTranslationService
	PloneErrorReporting
	PloneLanguageTool
	PloneTranslations
	PortalTransforms
	ResourceRegistries
	SecureMailHost
	generator
	kupu
	validation
	"

pkg_postinst() {
	einfo
	einfo "This Plone version is a bundled version = contains all necessary zope products"
	einfo "You should carefully manage Your zope instance manually(!) with zprod-manager tool"
	einfo "If You have simple installation (just zope and plone) you should safely ;)"
	einfo "run 'zprod-manager add' and mark ${P} as [X] to be added to your instance."
	einfo "Consult http://bugs.gentoo.org/show_bug.cgi?id=105187#c84 for more info."
	einfo
	ewarn "Please do not forget that for python-2.3 (required for zope <2.9) you should:"
	ewarn "  export PYTHON_SLOT_VERSION=2.3"
	ewarn "  emerge imaging"
	ewarn "This will emerge imaging installing it for python-2.3 instead of python-2.4"
	ewarn "You can use this trick also for other python-2.3 packages."
	ewarn
}