summaryrefslogtreecommitdiffstats
path: root/net/nylon/Makefile
blob: ecb6a309af17d330ff743f2a3b35cc970c1e8a8f (plain)
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
# 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

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>
OpenPOWER on IntegriCloud