ports/devel/mongo-c-driver/Makefile
Mathieu Arnold 8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00

27 lines
532 B
Makefile

# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
# $FreeBSD$
PORTNAME= mongo-c-driver
PORTVERSION= 1.3.5
CATEGORIES= devel
MAINTAINER= ports@bsdserwis.com
COMMENT= C Driver for MongoDB
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \
libbson-1.0.so:devel/libbson
USE_GITHUB= yes
GH_ACCOUNT= mongodb
USES= cmake pkgconfig
USE_LDCONFIG= yes
LDFLAGS+= -pthread
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmongoc-1.0.so.${PORTVERSION}
.include <bsd.port.mk>