summaryrefslogtreecommitdiff
path: root/ftp/curlpp/Makefile
blob: 2fe640ffa3177f83671d164f0ae8cddc7070c26e (plain)
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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	curlpp
PORTVERSION=	0.8.1
DISTVERSIONPREFIX=	v
PORTREVISION=	3
CATEGORIES=	ftp

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	C++ wrapper for libcurl

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/doc/LICENSE

LIB_DEPENDS=	libcurl.so:ftp/curl

OPTIONS_DEFINE=	DOCS EXAMPLES

USES=		cmake compiler:c++11-lang localbase pathfix

USE_LDCONFIG=	yes

GH_ACCOUNT=	jpbarrette
USE_GITHUB=	yes

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/
	${INSTALL_DATA} ${WRKSRC}/doc/guide.pdf ${STAGEDIR}${DOCSDIR}/

post-install-EXAMPLES-on:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
	${INSTALL_DATA} ${WRKSRC}/examples/README ${WRKSRC}/examples/example*.cpp ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>