aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libmongo-client/Makefile
blob: a26b5616ea970b5715b1d3f8ddd16867ab315b5c (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
33
# Created by: Denis Generalov <gd@rambler-co.ru>
# $FreeBSD$

PORTNAME=   libmongo-client
PORTVERSION=    0.1.6.2
CATEGORIES= databases

MAINTAINER= gd@rambler-co.ru
COMMENT=    Alternative C driver for MongoDB

LIB_DEPENDS=    pcre:${PORTSDIR}/devel/pcre

USE_GITHUB= yes
GH_ACCOUNT= algernon
GH_TAGNAME= ${PORTNAME}-${PORTVERSION}
GH_COMMIT=  13cc0ee

USE_AUTOTOOLS=  automake autoconf libtool
GNU_CONFIGURE=  yes
USES=       pkgconfig gettext
USE_GMAKE=  yes
USE_ICONV=  yes
USE_GNOME=  glib20
USE_LDCONFIG=   yes
CONFIGURE_ENV+= PKG_CONFIG_DIR=${LOCALBASE}/libdata/pkgconfig

run-autotools:
    @${REINPLACE_CMD} 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
        ${WRKSRC}/src/Makefile.am
    @cd ${CONFIGURE_WRKSRC} && \
    ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -i

.include <bsd.port.mk>