summaryrefslogtreecommitdiff
path: root/security/pear-LiveUser_Admin/Makefile
blob: 226e1a22b3a86aebb6b5cf16156041d7e49972cd (plain) (blame)
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
# Ports collection makefile for:  pear-LiveUser_Admin
# Date created:			  25 January 2005
# Whom:				  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#

PORTNAME=	LiveUser_Admin
PORTVERSION=	0.3.9
CATEGORIES=	security www pear

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	PEAR user authentication and permission management framework

BUILD_DEPENDS=	${PEARDIR}/LiveUser/LiveUser.php:${PORTSDIR}/security/pear-LiveUser
RUN_DEPENDS=	${BUILD_DEPENDS}

LATEST_LINK=	pear-LiveUser_Admin
OPTIONS=	PEAR_DB "PEAR::DB support" off \
		PEAR_MDB "PEAR::MDB support" off \
		PEAR_MDB2 "PEAR::MDB2 support" off \
		PEAR_LOG "PEAR::Log support" off \
		PEAR_XML_TREE "PEAR::XML_Tree support" off \
		PEAR_CRYPT_RC4 "PEAR::Crypt_RC4 support" off

CATEGORY=	LiveUser/Admin
FILES=		Auth/Common.php Auth/DB.php Auth/MDB.php Auth/MDB2.php \
		Auth/PDO.php Auth/Storage/DB.php Auth/Storage/MDB.php \
		Auth/Storage/MDB2.php Auth/Storage/PDO.php \
		Perm/Storage/DB.php Perm/Storage/MDB.php Perm/Storage/MDB2.php \
		Perm/Storage/PDO.php Perm/Complex.php Perm/Medium.php Perm/Simple.php \
		Storage/DB.php Storage/MDB.php Storage/MDB2.php Storage/SQL.php \
		Storage/PDO.php Admin.php Storage.php
EXAMPLES=	example1/Application.php example1/Area.php \
		example1/Area_Admin_Areas.php example1/config.inc.php \
		example1/Group.php example1/GroupRights.php \
		example1/ImplyRights.php example1/index.php \
		example1/OutputRightsConstants.php example1/Rights.php \
		example1/Subgroups.php example1/Translation.php example1/User.php \
		example1/UserGroup.php example1/UserRights.php example3/area51.php \
		example3/coffeemaker.php example3/conf.php example3/demodata.xml \
		example3/example.php example3/index.html example3/loginscreen.php \
		example3/main.php example3/nav.php example3/testarea.php README \

_EXAMPLESDIR=	docs/examples

.include <bsd.port.pre.mk>

.if defined(WITH_PEAR_DB)
RUN_DEPENDS+=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.endif

.if defined(WITH_PEAR_MDB)
RUN_DEPENDS+=	${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
.endif

.if defined(WITH_PEAR_MDB2)
RUN_DEPENDS+=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
.endif

.if defined(WITH_PEAR_LOG)
RUN_DEPENDS+=	${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
.endif

.if defined(WITH_PEAR_XML_TREE)
RUN_DEPENDS+=	${PEARDIR}/XML/Tree.php:${PORTSDIR}/devel/pear-XML_Tree
.endif

.if defined(WITH_PEAR_CRYPT_RC4)
RUN_DEPENDS+=	${PEARDIR}/Crypt/Rc4.php:${PORTSDIR}/security/pear-Crypt_RC4
.endif

.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>