aboutsummaryrefslogtreecommitdiff
path: root/www/cpr/Makefile
blob: 7a16769330b81d32c53ebbbaaee0e36bdee7da07 (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
# $FreeBSD$

PORTNAME=	cpr
DISTVERSION=	1.3.0-57
PORTREVISION=	1
DISTVERSIONSUFFIX=	-g3d14e61
CATEGORIES=	www

PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES=	8eb16e267843d18834bf42d9ae4ccfb58f34bdb5.patch:-p1

MAINTAINER=	che@bein.link
COMMENT=	Curl for people, a simple wrapper around libcurl

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libcurl.so:ftp/curl

USES=		compiler:c++11-lang cmake
USE_GITHUB=	yes
GH_ACCOUNT=	whoshuu
GH_TUPLE=	whoshuu:mongoose:df9f7a7:mongoose/opt/mongoose
USE_LDCONFIG=	yes

CMAKE_OFF=	BUILD_CPR_TESTS
CMAKE_ON=	BUILD_SHARED_LIBS USE_SYSTEM_CURL

INSTALL_TARGET=	install

.include <bsd.port.mk>