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

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

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

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

USES=       autoreconf libtool pkgconfig python:2.7 ssl
GNU_CONFIGURE=  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>