aboutsummaryrefslogtreecommitdiffstats
path: root/security/fiked/Makefile
blob: 4ed5f0d6d84a61daa75f9ab1febec56e62c6b69c (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
37
38
39
40
41
# Created by: Daniel Roethlisberger <daniel@roe.ch>
# $FreeBSD$

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

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

LIB_DEPENDS=    gcrypt:${PORTSDIR}/security/libgcrypt
.if !defined(WITHOUT_LIBNET)
LIB_DEPENDS+=   net:${PORTSDIR}/net/libnet
.endif

USE_BZIP2=  yes
USE_GMAKE=  yes

MAKEFILE=   GNUmakefile

PLIST_FILES=    bin/fiked
MAN1=       fiked.1
PORTDOCS=   README NEWS

LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/fiked ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/fiked.1 ${PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>