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

PORTNAME=	Auth
PORTVERSION=	1.2.3
PORTREVISION=	1
CATEGORIES=	security pear

MAINTAINER=	antonio@php.net
COMMENT=	PEAR class for creating an authentication system

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

LATEST_LINK=	pear-Auth
OPTIONS=	PEAR_FILE_PASSWD "PEAR::File_Passwd support" off \
		PEAR_NET_POP3 "PEAR::Net_POP3 support" off \
		PEAR_DB "PEAR::DB support" off \
		PEAR_MDB "PEAR::MDB support" off \
		PEAR_AUTH_RADIUS "PEAR::Auth_RADIUS support" off \
		PEAR_FILE_SMBPASSWD "PEAR::File_SMBPasswd support" off

USE_REINPLACE=	yes

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

post-extract:
	@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/Auth.php

.include <bsd.port.pre.mk>

.if defined(WITH_PEAR_FILE_PASSWD)
RUN_DEPENDS+=	${PEARDIR}/File/Passwd.php:${PORTSDIR}/security/pear-File_Passwd
.endif

.if defined(WITH_PEAR_NET_POP3)
RUN_DEPENDS+=	${PEARDIR}/Net/POP3.php:${PORTSDIR}/net/pear-Net_POP3
.endif

.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_AUTH_RADIUS)
RUN_DEPENDS+=	${PEARDIR}/Auth/RADIUS.php:${PORTSDIR}/net/pear-Auth_RADIUS
.endif

.if defined(WITH_PEAR_FILE_SMBPASSWD)
RUN_DEPENDS+=	${PEARDIR}/File/SMBPasswd.php:${PORTSDIR}/security/pear-File_SMBPasswd
.endif

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