summaryrefslogtreecommitdiff
blob: 2d1c9f99a09688a287d7fb448a676a654a67da39 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-zope/genericuserfolder/genericuserfolder-1.2.4.ebuild,v 1.3 2003/12/05 20:24:33 lanius Exp $

inherit zproduct

MY_PN="GenericUserFolder"
MY_PV="${PV//./-}"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="The GenericUserFolder is a roll-your-own user folder"
HOMEPAGE="http://www.zope.org/Members/Zen/${MY_PN}"
SRC_URI="${HOMEPAGE}/${MY_PV}/${MY_P}.tgz"
LICENSE="GPL-2"
KEYWORDS="~x86"

ZPROD_LIST="${MY_PN}"
S="${WORKDIR}/lib/python/Products/"
MYDOC="${MYDOC} *.txt"

src_install() {
	zproduct_src_install
	# fix permissions on files
	DIR=${D}/usr/share/zproduct/${PF}
	find ${DIR} -exec chown zope:root \{} \;
	find ${DIR} -exec chmod 644 \{} \;
	find ${DIR} -type d -exec chmod +x \{} \;
}