2 # $FreeBSD: ftp/curlpp/Makefile 317691 2013-05-08 15:54:54Z sunpoet $
8 MASTER_SITES= GOOGLE_CODE
10 MAINTAINER= sunpoet@FreeBSD.org
11 COMMENT= C++ wrapper for libcurl
13 LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
15 OPTIONS_DEFINE= BOOST DOCS EXAMPELS
17 CONFIGURE_ARGS= --disable-ewarning
18 CPPFLAGS+= -I${LOCALBASE}/include
20 LDFLAGS+= -L${LOCALBASE}/lib
24 .include <bsd.port.options.mk>
26 .if ${PORT_OPTIONS:MBOOST}
27 BUILD_DEPENDS+= boost-libs>=1.20.0:${PORTSDIR}/devel/boost-libs
28 RUN_DEPENDS+= boost-libs>=1.20.0:${PORTSDIR}/devel/boost-libs
29 CONFIGURE_ARGS+=--with-boost=${LOCALBASE}
31 CONFIGURE_ARGS+=--without-boost
35 .if ${PORT_OPTIONS:MDOCS}
37 ${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${DOCSDIR}/
39 .if ${PORT_OPTIONS:MEXAMPLES}
40 ${MKDIR} ${EXAMPLESDIR}/
41 ${INSTALL_DATA} ${WRKSRC}/examples/README ${WRKSRC}/examples/example*.cpp ${EXAMPLESDIR}/
44 .include <bsd.port.mk>