1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/net/nylon/Makefile
Baptiste Daroussin b564653452 Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2

With hat:	portmgr
2014-07-24 13:32:58 +00:00

30 lines
713 B
Makefile

# Created by: William Ward <William.Ward@ericsson.com>
# $FreeBSD$
PORTNAME= nylon
PORTVERSION= 1.21
PORTREVISION= 7
CATEGORIES= net
MASTER_SITES= http://monkey.org/~marius/nylon/
MAINTAINER= ports@FreeBSD.org
COMMENT= Unix SOCKS 4 and 5 proxy server
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
USE_RC_SUBR= nylon
USES= pkgconfig
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>