821843ca06
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here Reviewed by: bapt, kwm
32 lines
761 B
Makefile
32 lines
761 B
Makefile
# 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 iconv
|
|
USE_GMAKE= 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>
|