blob: 8e2596fe34b5fab8ea2b78145bd941c193e68499 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# ex:ts=8
# Ports collection makefile for: curlpp
# Date created: Nov 27, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= curlpp
PORTVERSION= 0.7.3
PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://rrette.com/files/curlpp/curlpp-${PORTVERSION:R}/
MAINTAINER= roam@FreeBSD.org
COMMENT= A C++ wrapper for libcurl
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-ewarning --without-boost
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>
|