summaryrefslogtreecommitdiff
path: root/net/radsecproxy/Makefile
blob: c2277bf171021a33bd39d743b33e1ebb76a3fb51 (plain)
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
# $NetBSD: Makefile,v 1.6 2019/09/11 11:51:22 he Exp $

VERSION=	1.8.0
DISTNAME=	radsecproxy-${VERSION}
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_GITHUB:=radsecproxy/}

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Secure radius proxy
HOMEPAGE=	https://radsecproxy.github.io/
GITHUB_RELEASE=	${VERSION}
LICENSE=	modified-bsd

USE_TOOLS+=	gmake

GNU_CONFIGURE=	YES
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR:Q}
CONFIGURE_ARGS+=	--with-ssl=${BUILDLINK_PREFIX.openssl}

EGDIR=		${PREFIX}/share/examples/radsecproxy
INSTALLATION_DIRS+=	${EGDIR}

CONF=		radsecproxy.conf
CONF_FILES+=	${EGDIR}/${CONF} ${PKG_SYSCONFDIR}/${CONF}

post-install:
	${INSTALL_DATA} ${WRKSRC}/radsecproxy.conf-example \
		${DESTDIR}${EGDIR}/${CONF}

.include "../../security/openssl/buildlink3.mk"
.include "../../security/nettle/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"