mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
6792a693ba
Port changes: * Set USE_GCC to allow build on FreeBSD 4.x * Add WITHOUT_LIBNET knob * Remove CC fixes, upstream makefile honours CC now * Upgrade to 0.0.4 Upstream changes: * Support for dropping privileges to unprivileged user * Portability fixes * Bug fixes RP: ports/90722 Submitted by: Daniel Roethlisberger <daniel@roe.ch>
45 lines
981 B
Makefile
45 lines
981 B
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
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://dragon.roe.ch/bitsnpieces/fiked/ \
|
|
http://home.tiscalinet.ch/roe/fiked/
|
|
|
|
MAINTAINER= daniel@roe.ch
|
|
COMMENT= A fake IKE PSK+XAUTH daemon based on VPNC
|
|
|
|
LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt
|
|
.if !defined(WITHOUT_LIBNET)
|
|
BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
|
|
.endif
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_GCC= 3.2+
|
|
USE_REINPLACE= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
PLIST_FILES= bin/fiked
|
|
MAN1= fiked.1
|
|
PORTDOCS= README NEWS
|
|
|
|
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>
|