summaryrefslogtreecommitdiff
path: root/net/nylon/Makefile
blob: ca2a3aff7224118f8758494cc76a9b6c56cf8d36 (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
# Created by: William Ward <William.Ward@ericsson.com>

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

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

LICENSE=	BSD3CLAUSE

LIB_DEPENDS=	libevent.so:devel/libevent

USES=		pkgconfig

USE_RC_SUBR=	nylon

GNU_CONFIGURE=	yes
# Necessary for $PREFIX to work:
CONFIGURE_ARGS=	--with-libevent=yes
CONFIGURE_ENV=	EVENTLIB="`pkgconf --libs libevent`" EVENTINC="`pkgconf --cflags libevent`"

PLIST_FILES=	bin/nylon etc/nylon.conf.sample man/man1/nylon.1.gz

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

.include <bsd.port.mk>