aboutsummaryrefslogtreecommitdiff
path: root/net/nylon/Makefile
blob: a25935d21ba7d8f9e8f3db5915319dfef83fe280 (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
# ex:ts=8
# New ports collection makefile for:	nylon
# Date created:			Jun 11, 2001
# Whom:				William Ward <William.Ward@ericsson.com>
#
# $FreeBSD$
#

PORTNAME=	nylon
PORTVERSION=	1.2
PORTREVISION=	2
CATEGORIES=	net
MASTER_SITES=	http://monkey.org/~marius/nylon/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Unix SOCKS 4 and 5 proxy server

LIB_DEPENDS=	event-1.1a.1:${PORTSDIR}/devel/libevent

USE_RC_SUBR=	nylon.sh

USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
# Necessary for $PREFIX to work:
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=	--with-libevent=${LOCALBASE}

MAN1=		nylon.1

PLIST_FILES=	bin/nylon etc/nylon.conf.sample

post-patch:
	${REINPLACE_CMD} -e 's/-levent/-levent-1.1a/' ${WRKSRC}/configure

post-install:
	${INSTALL_DATA} ${FILESDIR}/nylon.conf ${PREFIX}/etc/nylon.conf.sample

.include <bsd.port.mk>