summaryrefslogtreecommitdiff
path: root/net/radcli/Makefile
blob: 7d6269385665b25e279de149ebf0267218a5e519 (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
PORTNAME=	radcli
PORTVERSION=	1.3.0
MASTER_SITES=	https://github.com/radcli/radcli/releases/download/${PORTVERSION}/
CATEGORIES=	net

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Simple RADIUS client library

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYRIGHT

LIB_DEPENDS=	libgnutls.so:security/gnutls \
		libnettle.so:security/nettle

USES=		libtool pathfix pkgconfig

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

post-install:
.for file in radiusclient.conf radiusclient-tls.conf servers servers-tls
	${INSTALL_DATA} ${WRKSRC}/etc/${file} ${STAGEDIR}${PREFIX}/etc/radcli/${file}.sample
.endfor

.include <bsd.port.mk>