aboutsummaryrefslogtreecommitdiffstats
path: root/net/liboauth/Makefile
blob: 2cac4e024460f539ee05cd1bcb9be650047f07b8 (plain) (blame)
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
# New ports collection makefile for:    liboauth
# Date created:     30 October 2010
# Whom:         johans
#
# $FreeBSD$
#

PORTNAME=   liboauth
PORTVERSION=    0.9.6
PORTREVISION=   1
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/ == / = /' \
        -e '/PC_REQ=/s/ libcrypto//' ${WRKSRC}/configure

.include <bsd.port.mk>