aboutsummaryrefslogtreecommitdiffstats
path: root/devel/uatraits/Makefile
blob: 2b7414e505de604389333ed6f65b13a2e4c3696b (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
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$

PORTNAME=   uatraits
PORTVERSION=    20130430
PORTREVISION=   3
CATEGORIES= devel www
MASTER_SITES=   http://people.freebsd.org/~demon/

MAINTAINER= demon@FreeBSD.org
COMMENT=    User-Agent detection library

BROKEN_powerpc64=   Does not build

LIB_DEPENDS=    libboost_python.so:devel/boost-python-libs \
        libpcre.so:devel/pcre \
        libxml2.so:textproc/libxml2

USES=       autoreconf libtool pkgconfig python
GNU_CONFIGURE=  yes
USE_OPENSSL=    yes
USE_LDCONFIG=   yes

CONFIGURE_ARGS= --with-boost-prefix=${LOCALBASE} \
        --with-pcre-prefix=${LOCALBASE} \
        --enable-python --disable-perl --disable-tests \
        --disable-java --disable-nodejs
CONFIGURE_ENV=  crypto_CFLAGS="-I${OPENSSLINC}" \
        crypto_LIBS="-L${OPENSSLLIB} -lcrypto"
CPPFLAGS+=  -I${LOCALBASE}/include

.include <bsd.port.mk>