aboutsummaryrefslogtreecommitdiff
path: root/www/ulfius/Makefile
blob: 7fcde3a5c2865ce26c9cbf019316e374a6d88264 (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
PORTNAME=	ulfius
DISTVERSIONPREFIX=	v
DISTVERSION=	2.7.11
CATEGORIES=	www

MAINTAINER=	dvl@FreeBSD.org
COMMENT=	Web Framework to build REST APIs, Webservices in C
WWW=		https://github.com/babelouest/ulfius

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	libmicrohttpd>0:www/libmicrohttpd \
		yder>0:devel/yder \
		orcania>0:devel/orcania

LIB_DEPENDS=	libgnutls.so:security/gnutls \
		libjansson.so:devel/jansson \
		libcurl.so:ftp/curl

RUN_DEPENDS=	jansson>0:devel/jansson \
		gnutls>0:security/gnutls \
		libmicrohttpd>0:www/libmicrohttpd

USES=		cmake cpe

USE_GITHUB=	yes
GH_ACCOUNT=	babelouest

CPE_VENDOR=	ulfius_project
CMAKE_ARGS=	-DWITH_JOURNALD=off \
		-DDOWNLOAD_DEPENDENCIES=off

PLIST_SUB=	PORTVERSION=${PORTVERSION}

MAKE_ENV+=	MAN1=uwsc.1

.include <bsd.port.mk>