aboutsummaryrefslogtreecommitdiffstats
path: root/net/radcli/Makefile
blob: 8606dd22f9fb4fa851eaeadf3a8aba6afc38e8c0 (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
# Created by: Jov <amutu@amutu.com>
# $FreeBSD$

PORTNAME=   radcli
PORTVERSION=    1.2.11
PORTREVISION=   1
CATEGORIES= net

MAINTAINER= neel@neelc.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>