summaryrefslogtreecommitdiff
blob: db7ec05cfe27c1c7d50aeb15ccae38d9e2466b21 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-zope/exuserfolder/exuserfolder-0.20.0.ebuild,v 1.5 2008/05/27 05:55:51 tupone Exp $

inherit zproduct

MY_PN="exUserFolder"
MY_PN_DOWNLOAD="exuserFolder"
MY_PV="${PV//./_}"
MY_P="${MY_PN}-${MY_PV}"
MY_P_DOWNLOAD="${MY_PN_DOWNLOAD}-${MY_PV}"
DESCRIPTION="allows authentication via alternative methods + mysql plain text
auth patch"
HOMEPAGE="http://www.zope.org/Members/TheJester/exuserfolder"
SRC_URI="${HOMEPAGE}/${PV}/${MY_P_DOWNLOAD}.tgz"

LICENSE="GPL-2"
KEYWORDS="~x86"

S=${WORKDIR}

ZPROD_LIST="${MY_PN}"
MYDOC="${MYDOC} *.txt README.* LICENSE *.sql"

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 \{} \;
}