aboutsummaryrefslogtreecommitdiff
path: root/security/openiked/Makefile
blob: 4e5ee3b35455f751026b41c9c60ba8e0f72c3840 (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
PORTNAME=	openiked
PORTVERSION=	2.2
PORTREVISION=	1
CATEGORIES=	security net

MAINTAINER=	marcel@FreeBSD.org
COMMENT=	IKEv2 daemon
WWW=		https://github.com/xcllnt/openiked

LICENSE=	ISCL

LIB_DEPENDS=	libevent.so:devel/libevent

USES=		autoreconf libtool ssl

CONFLICTS_INSTALL=		openiked-portable[0-9]*

USE_GITHUB=	yes
GH_ACCOUNT=	xcllnt

USE_RC_SUBR=	iked
USERS=		_iked
GROUPS=		_iked

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
INSTALL_TARGET=	install-strip
CONFIGURE_ARGS=	--with-libevent-dir=${PREFIX} --with-mantype=man

post-install:
	${MV} ${STAGEDIR}${PREFIX}/etc/ikeca.cnf \
	    ${STAGEDIR}${PREFIX}/etc/ikeca.cnf.sample
	${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \
	    ${STAGEDIR}${PREFIX}/etc/iked.conf.sample

.include <bsd.port.mk>