aboutsummaryrefslogtreecommitdiffstats
path: root/net/radcli/Makefile
blob: fc15f534d7f5c1e4d82ad482726e2f7a7b726da7 (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
# Created by: Jov <ports@FreeBSD.org>
# $FreeBSD$

PORTNAME=   radcli
PORTVERSION=    1.2.8
CATEGORIES= net

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

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/COPYRIGHT

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

USES=       autoreconf libtool localbase pathfix pkgconfig
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

USE_GITHUB= yes

pre-configure:
    @${TOUCH} ${WRKSRC}/config.rpath

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

.include <bsd.port.mk>