head	1.9;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1;
locks; strict;
comment	@# @;


1.9
date	2012.11.17.06.01.14;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.07.20.22.12.58;	author bapt;	state Exp;
branches;
next	1.7;

1.7
date	2012.06.10.18.42.15;	author swills;	state Exp;
branches;
next	1.6;

1.6
date	2012.02.26.12.20.47;	author mm;	state Exp;
branches;
next	1.5;

1.5
date	2012.01.09.15.41.03;	author tabthorpe;	state Exp;
branches;
next	1.4;

1.4
date	2011.03.23.15.53.21;	author mm;	state Exp;
branches;
next	1.3;

1.3
date	2009.05.05.15.04.13;	author mm;	state Exp;
branches;
next	1.2;

1.2
date	2008.10.02.15.51.29;	author mm;	state Exp;
branches;
next	1.1;

1.1
date	2008.03.04.10.43.08;	author mm;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Switch exporter over
@
text
@# New ports collection makefile for:	php-openid
# Date created:		2008-03-03
# Whom:			Martin Matuska <mm@@FreeBSD.org>
#
# $FreeBSD: head/security/pear-Auth_OpenID/Makefile 301256 2012-07-20 22:12:58Z bapt $
#

PORTNAME=	Auth_OpenID
PORTVERSION=	2.1.3
CATEGORIES=	security www pear
MASTER_SITES=	http://openidenabled.com/files/php-openid/packages/
DISTNAME=	php-openid-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	PHP OpenID library v2 for PEAR

RUN_DEPENDS=	pear:${PORTSDIR}/devel/pear
BUILD_DEPENDS:=	${RUN_DEPENDS}

CONFLICTS=	php-Auth_OpenID-1.*

LICENSE=	AL2
LICENSE_FILE=	${WRKSRC}/COPYING

USE_BZIP2=	yes
LATEST_LINK=	pear-Auth_OpenID

WRKSRC=		${WRKDIR}/php-openid-${PORTVERSION}

OPTIONS_DEFINE=	BCMATH PEAR_DB
BCMATH_DESC=	Use bcmath instead of libgmp
PEAR_DB_DESC=	Support SQL stores

USE_PHP=	curl dom
USE_PYTHON_BUILD=	yes

FILES=		Auth/OpenID.php Auth/OpenID/AX.php \
		Auth/OpenID/Association.php Auth/OpenID/BigMath.php \
		Auth/OpenID/Consumer.php Auth/OpenID/CryptUtil.php \
		Auth/OpenID/DatabaseConnection.php \
		Auth/OpenID/DiffieHellman.php Auth/OpenID/Discover.php \
		Auth/OpenID/DumbStore.php Auth/OpenID/Extension.php \
		Auth/OpenID/FileStore.php Auth/OpenID/HMAC.php \
		Auth/OpenID/Interface.php Auth/OpenID/KVForm.php \
		Auth/OpenID/MemcachedStore.php \
		Auth/OpenID/Message.php Auth/OpenID/MySQLStore.php \
		Auth/OpenID/Nonce.php Auth/OpenID/PAPE.php \
		Auth/OpenID/Parse.php Auth/OpenID/PostgreSQLStore.php \
		Auth/OpenID/SQLStore.php Auth/OpenID/SQLiteStore.php \
		Auth/OpenID/SReg.php Auth/OpenID/Server.php \
		Auth/OpenID/ServerRequest.php Auth/OpenID/TrustRoot.php \
		Auth/OpenID/URINorm.php \
		Auth/Yadis/HTTPFetcher.php Auth/Yadis/Manager.php \
		Auth/Yadis/Misc.php Auth/Yadis/ParanoidHTTPFetcher.php \
		Auth/Yadis/ParseHTML.php Auth/Yadis/PlainHTTPFetcher.php \
		Auth/Yadis/XML.php Auth/Yadis/XRDS.php Auth/Yadis/XRI.php \
		Auth/Yadis/XRIRes.php Auth/Yadis/Yadis.php

DOCS=		OpenID/Auth_OpenID_AX.html \
		OpenID/Auth_OpenID_AX_AttrInfo.html \
		OpenID/Auth_OpenID_AX_Error.html \
		OpenID/Auth_OpenID_AX_FetchRequest.html \
		OpenID/Auth_OpenID_AX_FetchResponse.html \
		OpenID/Auth_OpenID_AX_KeyValueMessage.html \
		OpenID/Auth_OpenID_AX_Message.html \
		OpenID/Auth_OpenID_AX_StoreRequest.html \
		OpenID/Auth_OpenID_AX_StoreResponse.html \
		OpenID/Auth_OpenID_AlreadySigned.html \
		OpenID/Auth_OpenID_AssociateRequest.html \
		OpenID/Auth_OpenID_Association.html \
		OpenID/Auth_OpenID_AuthRequest.html \
		OpenID/Auth_OpenID_CancelResponse.html \
		OpenID/Auth_OpenID_CheckAuthRequest.html \
		OpenID/Auth_OpenID_CheckIDRequest.html \
		OpenID/Auth_OpenID_Consumer.html \
		OpenID/Auth_OpenID_ConsumerResponse.html \
		OpenID/Auth_OpenID_DatabaseConnection.html \
		OpenID/Auth_OpenID_Decoder.html \
		OpenID/Auth_OpenID_DiffieHellmanSHA1ConsumerSession.html \
		OpenID/Auth_OpenID_DiffieHellmanSHA1ServerSession.html \
		OpenID/Auth_OpenID_DiffieHellmanSHA256ConsumerSession.html \
		OpenID/Auth_OpenID_DiffieHellmanSHA256ServerSession.html \
		OpenID/Auth_OpenID_DumbStore.html \
		OpenID/Auth_OpenID_Encoder.html \
		OpenID/Auth_OpenID_EncodingError.html \
		OpenID/Auth_OpenID_Extension.html \
		OpenID/Auth_OpenID_FailureResponse.html \
		OpenID/Auth_OpenID_FileStore.html \
		OpenID/Auth_OpenID_GenericConsumer.html \
		OpenID/Auth_OpenID_MalformedReturnURL.html \
		OpenID/Auth_OpenID_MalformedTrustRoot.html \
		OpenID/Auth_OpenID_Mapping.html \
		OpenID/Auth_OpenID_MemcachedStore.html \
		OpenID/Auth_OpenID_Message.html \
		OpenID/Auth_OpenID_MySQLStore.html \
		OpenID/Auth_OpenID_NamespaceMap.html \
		OpenID/Auth_OpenID_NoReturnToError.html \
		OpenID/Auth_OpenID_OpenIDStore.html \
		OpenID/Auth_OpenID_PAPE_Request.html \
		OpenID/Auth_OpenID_PAPE_Response.html \
		OpenID/Auth_OpenID_PlainTextConsumerSession.html \
		OpenID/Auth_OpenID_PlainTextServerSession.html \
		OpenID/Auth_OpenID_PostgreSQLStore.html \
		OpenID/Auth_OpenID_Request.html \
		OpenID/Auth_OpenID_SQLStore.html \
		OpenID/Auth_OpenID_SQLiteStore.html \
		OpenID/Auth_OpenID_SRegBase.html \
		OpenID/Auth_OpenID_SRegRequest.html \
		OpenID/Auth_OpenID_SRegResponse.html \
		OpenID/Auth_OpenID_Server.html \
		OpenID/Auth_OpenID_ServerError.html \
		OpenID/Auth_OpenID_ServerErrorContainer.html \
		OpenID/Auth_OpenID_ServerRequest.html \
		OpenID/Auth_OpenID_ServerResponse.html \
		OpenID/Auth_OpenID_ServiceEndpointLoader.html \
		OpenID/Auth_OpenID_SessionNegotiator.html \
		OpenID/Auth_OpenID_SetupNeededResponse.html \
		OpenID/Auth_OpenID_Signatory.html \
		OpenID/Auth_OpenID_SigningEncoder.html \
		OpenID/Auth_OpenID_SuccessResponse.html \
		OpenID/Auth_OpenID_TypeURIMismatch.html \
		OpenID/Auth_OpenID_UntrustedReturnURL.html \
		OpenID/Auth_OpenID_WebResponse.html \
		OpenID/Auth_Yadis_Discovery.html \
		OpenID/Auth_Yadis_DiscoveryResult.html \
		OpenID/Auth_Yadis_Manager.html \
		OpenID/Auth_Yadis_ManagerLoader.html \
		OpenID/Auth_Yadis_PHPSession.html \
		OpenID/Auth_Yadis_Service.html \
		OpenID/Auth_Yadis_SessionLoader.html \
		OpenID/Auth_Yadis_XMLParser.html \
		OpenID/Auth_Yadis_XRDS.html \
		OpenID/Auth_Yadis_Yadis.html \
		OpenID/Auth_Yadis_dom.html \
		OpenID/Auth_Yadis_domxml.html \
		OpenID/_Auth---OpenID---AX.php.html \
		OpenID/_Auth---OpenID---Association.php.html \
		OpenID/_Auth---OpenID---Consumer.php.html \
		OpenID/_Auth---OpenID---DatabaseConnection.php.html \
		OpenID/_Auth---OpenID---DumbStore.php.html \
		OpenID/_Auth---OpenID---Extension.php.html \
		OpenID/_Auth---OpenID---FileStore.php.html \
		OpenID/_Auth---OpenID---Interface.php.html \
		OpenID/_Auth---OpenID---MemcachedStore.php.html \
		OpenID/_Auth---OpenID---Message.php.html \
		OpenID/_Auth---OpenID---MySQLStore.php.html \
		OpenID/_Auth---OpenID---Nonce.php.html \
		OpenID/_Auth---OpenID---PAPE.php.html \
		OpenID/_Auth---OpenID---PostgreSQLStore.php.html \
		OpenID/_Auth---OpenID---SQLStore.php.html \
		OpenID/_Auth---OpenID---SQLiteStore.php.html \
		OpenID/_Auth---OpenID---SReg.php.html \
		OpenID/_Auth---OpenID---Server.php.html \
		OpenID/_Auth---OpenID---ServerRequest.php.html \
		OpenID/_Auth---OpenID.php.html \
		OpenID/_Auth---Yadis---Manager.php.html \
		OpenID/_Auth---Yadis---XML.php.html \
		OpenID/_Auth---Yadis---XRDS.php.html \
		OpenID/_Auth---Yadis---Yadis.php.html \
		OpenID/tutorial_OpenID.pkg.html \
		classtrees_OpenID.html elementindex.html \
		elementindex_OpenID.html errors.html index.html \
		li_OpenID.html packages.html \
		media/banner.css media/stylesheet.css

EXAMPLES=	README consumer/common.php consumer/finish_auth.php \
		consumer/index.php consumer/try_auth.php detect.php \
		discover.php server/index.php server/lib/actions.php \
		server/lib/common.php server/lib/render.php \
		server/lib/render/about.php server/lib/render/idpXrds.php \
		server/lib/render/idpage.php server/lib/render/login.php \
		server/lib/render/trust.php server/lib/render/userXrds.php \
		server/lib/session.php server/openid-server.css \
		server/server.php server/setup.php

_DOCSDIR=	doc

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
EXTRACT_SUFX=	.tar.bz2

.if ${PORT_OPTIONS:MBCMATH}
USE_PHP+=	bcmath
.else
USE_PHP+=	gmp
.endif

.if ${PORT_OPTIONS:MPEAR_DB}
BUILD_DEPENDS+=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
RUN_DEPENDS+=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.endif

post-configure:
	@@cd ${WRKSRC}/admin && ${PYTHON_CMD} packagexml.py ${PORTVERSION} package2.xml ../CHANGELOG > ${WRKDIR}/package.xml

.include <bsd.port.post.mk>
@


1.8
log
@SVN rev 301256 on 2012-07-20 22:12:58Z by bapt

Convert to new options framework
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.7
log
@- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
  RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
  about for a while.

PR:		ports/168208
Approved by:	portmgr (miwi)
@
text
@d30 3
a32 2
OPTIONS=	BCMATH "Use bcmath instead of libgmp" off \
		PEAR_DB "Support SQL stores" off
d182 1
a182 1
.ifdef(WITH_BCMATH)
d188 1
a188 1
.ifdef(WITH_PEAR_DB)
@


1.6
log
@Return maintainership back to pool
@
text
@d18 1
a18 1
BUILD_DEPENDS=	${RUN_DEPENDS}
@


1.5
log
@- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
@
text
@d14 1
a14 1
MAINTAINER=	mm@@FreeBSD.org
@


1.4
log
@- Add LICENSE knob(s)
@
text
@d22 1
a22 1
LICENSE=	ASL
@


1.3
log
@- Update to 2.1.3
@
text
@d22 3
@


1.2
log
@- Update to 2.1.2
- Add option for PEAR_DB
@
text
@d9 1
a9 1
PORTVERSION=	2.1.2
@


1.1
log
@This is version 2 of PHP OpenID using the PEAR framework.

The PHP OpenID library lets you enable OpenID authentication on sites built
using PHP. It features the OpenID consumer, Store implementations, and an
OpenID server.

WWW:    http://openidenabled.com/php-openid/
@
text
@d9 1
a9 1
PORTVERSION=	2.0.1
d27 2
a28 1
OPTIONS=	BCMATH "Use bcmath instead of libgmp" off
d39 1
a39 1
		Auth/OpenID/FileStore.php Auth/OpenID/HMACSHA1.php \
d41 1
d89 1
d140 1
d163 2
a164 2
		consumer/index.php consumer/try_auth.php \
		detect.php server/index.php server/lib/actions.php \
d184 5
@

