# New ports collection makefile for:	ftp-proxy
# Date created:        4. March 2007
# Whom:                Christian Ludwig
#
# $FreeBSD: ports/ftp/ftp-proxy/Makefile,v 1.9 2007/12/14 00:52:10 beech Exp $
#

PORTNAME=	ftp-proxy
PORTVERSION=	4.2p2
CATEGORIES=	ftp
MASTER_SITES=	http://www.chrissicool.net/projects/ftp-proxy/distfiles/

MAINTAINER=	chrissicool@chrissicool.net
COMMENT=	A port of OpenBSD's ftp-proxy

LIB_DEPENDS=	event-1.3d:${PORTSDIR}/devel/libevent

MAN8=		ftp-proxy.8
MANCOMPRESSED=	yes

PLIST_FILES=	sbin/ftp-proxy
USE_RC_SUBR=	ftp-proxy

CFLAGS+=	-I${PREFIX}/include

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 700048
IGNORE=		is a part of base for 7.0 and above
.endif

.if ${OSVERSION} < 502106
IGNORE=		only for 5.3 and above
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ftp-proxy ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/ftp-proxy.8.gz ${PREFIX}/man/man8

.include <bsd.port.post.mk>


syntax highlighted by Code2HTML, v. 0.9.1