1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/security/fiked/Makefile
2009-01-06 13:01:11 +00:00

50 lines
1.1 KiB
Makefile

# New ports collection makefile for: fiked
# Date created: 2005-12-07
# Whom: Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#
PORTNAME= fiked
PORTVERSION= 0.0.4
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= http://dragon.roe.ch/bitsnpieces/fiked/ \
http://mirror.roe.ch/dist/fiked/
MAINTAINER= daniel@roe.ch
COMMENT= A fake IKE PSK+XAUTH daemon based on VPNC
LIB_DEPENDS= gcrypt.16:${PORTSDIR}/security/libgcrypt
.if !defined(WITHOUT_LIBNET)
BUILD_DEPENDS= ${LIBNET_CONFIG}:${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
post-patch:
@${REINPLACE_CMD} -e \
's|=-g|=|; \
s|-lnet|`${LIBNET_CONFIG} --libs`|; \
s|-DWITH_LIBNET|& `${LIBNET_CONFIG} --cflags`|' \
${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>