mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
f9f5cba57e
Approved by: portmgr blanket
41 lines
991 B
Makefile
41 lines
991 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= curlpp
|
|
PORTVERSION= 0.7.3
|
|
PORTREVISION= 3
|
|
CATEGORIES= ftp
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= C++ wrapper for libcurl
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
|
|
|
OPTIONS_DEFINE= BOOST DOCS EXAMPLES
|
|
|
|
CONFIGURE_ARGS= --disable-ewarning
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
GNU_CONFIGURE= yes
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
USE_LDCONFIG= yes
|
|
USES= libtool pathfix
|
|
|
|
BOOST_BUILD_DEPENDS= boost-libs>=1.20.0:${PORTSDIR}/devel/boost-libs
|
|
BOOST_RUN_DEPENDS= ${BOOST_BUILD_DEPENDS}
|
|
BOOST_CONFIGURE_ON= --with-boost=${LOCALBASE}
|
|
BOOST_CONFIGURE_OFF= --without-boost
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's| -lstdc++||' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${STAGEDIR}${DOCSDIR}/
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/examples/README ${WRKSRC}/examples/example*.cpp ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
.include <bsd.port.mk>
|