summaryrefslogtreecommitdiffstats
path: root/security/fiked/Makefile
blob: 60d1c644602d6a02f50cc0f3f0d1255d6865b6c2 (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
33
34
35
36
37
38
39
40
41
# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$

PORTNAME=	fiked
PORTVERSION=	0.0.5
PORTREVISION=	7
CATEGORIES=	security
MASTER_SITES=	http://mirror.roe.ch/dist/fiked/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Fake IKE PSK+XAUTH daemon based on VPNC

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/security/libgcrypt

USES=		gmake tar:bzip2

MAKEFILE=	GNUmakefile

PLIST_FILES=	bin/fiked man/man1/fiked.1.gz
PORTDOCS=	README NEWS

OPTIONS_DEFINE=	LIBNET DOCS
OPTIONS_DEFAULT=LIBNET
LIBNET_DESC=	Build with libnet support
LIBNET_LIB_DEPENDS=	libnet.so:${PORTSDIR}/net/libnet

post-patch:
	@${REINPLACE_CMD} -e 's|=-g|=|' ${WRKSRC}/${MAKEFILE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fiked ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/fiked.1 ${STAGEDIR}${PREFIX}/man/man1

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>
OpenPOWER on IntegriCloud