aboutsummaryrefslogtreecommitdiff
path: root/net/libcoap/Makefile
blob: 80b4b33530907bbf4537d69e678a321935f7d1c8 (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
PORTNAME=	libcoap
DISTVERSIONPREFIX=	v
DISTVERSION=	4.3.5
CATEGORIES=	net

MAINTAINER=	driesm@FreeBSD.org
COMMENT=	C implementation of the Constrained Application Protocol
WWW=		https://github.com/obgm/libcoap

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	a2x:textproc/asciidoc \
		gsed:textproc/gsed
LIB_DEPENDS=	libgnutls.so:security/gnutls

USES=		autoreconf gmake libtool pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	obgm

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	ac_cv_path_SED=${LOCALBASE}/bin/gsed

INSTALL_TARGET=	install-strip

BINARY_ALIAS=	sed=gsed
PORTSCOUT=	limit:^4\.

PORTDOCS=	*

OPTIONS_DEFINE=	DOCS DOXYGEN
OPTIONS_DEFAULT=	DOXYGEN

DOXYGEN_IMPLIES=	DOCS
DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen \
			dot:graphics/graphviz
DOXYGEN_CONFIGURE_ENABLE=	doxygen

.include <bsd.port.mk>