mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
c189a6b2da
to 7.19.2. Bump PORTREVISION, even on the ports that do not have a versioned dependency, since the binaries will most probably still stop working.
39 lines
922 B
Makefile
39 lines
922 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: curlpp
|
|
# Date created: Nov 27, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= curlpp
|
|
PORTVERSION= 0.7.0
|
|
PORTREVISION= 1
|
|
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.5:${PORTSDIR}/ftp/curl
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --disable-ewarning
|
|
USE_LDCONFIG= yes
|
|
|
|
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.mk>
|