# New ports collection makefile for:	proxychains
# Date created:		14 jui 2003
# Whom:			Patrick MARIE <mycroft@virgaria.org>
# $FreeBSD: ports/net/proxychains/Makefile,v 1.5 2006/12/12 21:39:24 miwi Exp $

PORTNAME=	proxychains
PORTVERSION=	3.1
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	proxychains

MAINTAINER=	mycroft@virgaria.org
COMMENT=	Redirect connection through proxy servers

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
BROKEN=		Does not compile on 4.x and 5.x
.endif

.if ${OSVERSION} < 700017
EXTRA_PATCHES=	${PATCHDIR}/gethostbyaddr-proto-int
.endif

post-configure:
	@${ECHO_CMD} '#define PREFIX "${PREFIX}"' >> ${WRKSRC}/config.h

.include <bsd.port.post.mk>


syntax highlighted by Code2HTML, v. 0.9.1