summaryrefslogtreecommitdiffstats
path: root/security/pear-Auth/Makefile
blob: 157a9c3771a06c260cb07ba9996fabb12b3b62a4 (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
# Ports collection makefile for:  pear-Auth
# Date created:			  2 February 2003
# Whom:				  Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#

PORTNAME=	Auth
PORTVERSION=	1.2.3
CATEGORIES=	security www pear

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PEAR authentication methods

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS=	${BUILD_DEPENDS}

CATEGORY=	Auth
FILES=		Auth.php Container.php Container/DB.php Container/File.php \
		Container/IMAP.php Container/LDAP.php Container/MDB.php \
		Container/POP3.php Container/RADIUS.php Container/SMBPasswd.php \
		Container/SOAP.php Container/vpopmail.php
TESTS=		DBContainer.php FileContainer.php POP3Container.php \
		POP3aContainer.php TestAuthContainer.php \
		auth_container_db_options.php auth_container_file_options.php \
		auth_container_pop3_options.php auth_container_pop3a_options.php \
		tests.php users

do-install-tests-msg: .USE
	@${ECHO_MSG} "     (These tests require PHPUnit - see"
	@${ECHO_MSG} "     <http://pear.php.net/package/PHPUnit/>;)."

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"

.if exists(${PEARDIR}/DB.php)
WITH_DB=	yes
.endif

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

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud