# New ports collection makefile for:	liboauth
# Date created:		30 October 2010
# Whom:			johans
#
# $FreeBSD: ports/net/liboauth/Makefile,v 1.4 2011/01/30 18:05:00 johans Exp $
#

PORTNAME=	liboauth
PORTVERSION=	0.9.4
CATEGORIES=	net
MASTER_SITES=	http://liboauth.sourceforge.net/pool/

MAINTAINER=	johans@FreeBSD.org
COMMENT=	C library implementing the OAuth Core standard

LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl

GNU_CONFIGURE=	yes
MAKE_ARGS=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"

USE_OPENSSL=	yes
USE_GNOME=	pkgconfig
USE_LDCONFIG=	yes

MAN3=		oauth.3

post-patch:
	@${REINPLACE_CMD} -e '/^if test/s/ == / = /' ${WRKSRC}/configure

.include <bsd.port.mk>
