aboutsummaryrefslogtreecommitdiff
path: root/security/pear-LiveUser/Makefile
blob: aab2237c8ad77544bc69543f80ea0835e6cd6040 (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
75
76
77
# Ports collection makefile for:  pear-LiveUser
# Date created:			  29 November 2004
# Whom:				  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#

PORTNAME=	LiveUser
PORTVERSION=	0.15.1
CATEGORIES=	security www pear

MAINTAINER=	antonio@php.net
COMMENT=	PEAR user authentication and permission management framework

BUILD_DEPENDS=	${PEARDIR}/Event/Dispatcher.php:${PORTSDIR}/devel/pear-Event_Dispatcher
RUN_DEPENDS=	${BUILD_DEPENDS}

LATEST_LINK=	pear-LiveUser
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
FILES=		Auth/Common.php Auth/DB.php Auth/MDB.php Auth/MDB2.php \
		Auth/PEARAuth.php Auth/Session.php Auth/XML.php Perm/Storage/Cache.php \
		Perm/Storage/DB.php Perm/Storage/Globals.php Perm/Storage/MDB.php \
		Perm/Storage/MDB2.php Perm/Storage/SQL.php Perm/Storage/XML.php \
		Perm/Complex.php Perm/Medium.php Perm/Simple.php Perm/Storage.php \
		LiveUser.php
SQLS=		auth_mdb_schema.xml Auth_XML.xml install.php perm_mdb_schema.xml \
		Perm_XML.xml README
DOCS=		lgpl.txt
EXAMPLES=	example1/Auth_XML.xml example1/conf.php example1/example.php \
		example1/index.html example1/README example2/Auth_XML.xml \
		example2/conf.php example2/example.php example2/index.html \
		example2/Perm_XML.xml example2/README example4/Auth_XML.xml \
		example4/conf.php example4/demodata.sql example4/error-page.tpl.php \
		example4/finish.inc.php example4/functions.js example4/index.html \
		example4/loginform.tpl.php example4/news_change.php \
		example4/news_change.tpl.php example4/news_new.php \
		example4/news_new.tpl.php example4/news_notallowed.tpl.php \
		example4/news_view.php example4/news_view.tpl.php example4/README \
		example4/style.css
_EXAMPLESDIR=	docs/examples
_DOCSDIR=	.

.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>