1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/pear-Auth_OpenID/Makefile
Baptiste Daroussin 91a1caa242 Reset miwi's maintainership per his demand
Hope to see you back! Thank for all the work!
2014-11-18 09:37:31 +00:00

45 lines
999 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
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
CONFLICTS= php-Auth_OpenID-1.*
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2 pear python:build
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
PEAR_DB_BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBCMATH}
USE_PHP+= bcmath
.else
USE_PHP+= gmp
.endif
post-configure:
@cd ${WRKSRC}/admin && ${PYTHON_CMD} packagexml.py ${PORTVERSION} package2.xml ../CHANGELOG > ${WRKDIR}/package.xml
.include <bsd.port.mk>