1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/ftp/curlpp/Makefile
Peter Pentchev 1eb866ba37 Update to curlpp-0.7.0.
In addition to the patch from Vasil, also finally remove the warning
about the incompatibility with ancient curlpp versions.

PR:		108295
Submitted by:	vd
2007-01-26 13:23:12 +00:00

46 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: curlpp
# Date created: Nov 27, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= curlpp
PORTVERSION= 0.7.0
CATEGORIES= ftp
MASTER_SITES= http://rrette.com/files/curlpp/curlpp-${PORTVERSION:R}/
MAINTAINER= roam@FreeBSD.org
COMMENT= A C++ wrapper for libcurl
LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl
USE_GCC= 3.4+
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-ewarning
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= Does not compile on alpha 4.x
.endif
post-patch:
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/example*.cpp ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${DOCSDIR}
.endif
.include <bsd.port.post.mk>