aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-03-06 23:41:53 +0800
committerbapt <bapt@FreeBSD.org>2014-03-06 23:41:53 +0800
commit5956de1b1a7a39ed403de065f8fedc1fbb4c06ed (patch)
treed8da5e5d41b744d6b0f67ca945e3efcd7cbb3d61 /net
parenta92c4a5ca1582d3b18c6943e9b61310110e3dc29 (diff)
downloadfreebsd-ports-gnome-5956de1b1a7a39ed403de065f8fedc1fbb4c06ed.tar.gz
freebsd-ports-gnome-5956de1b1a7a39ed403de065f8fedc1fbb4c06ed.tar.zst
freebsd-ports-gnome-5956de1b1a7a39ed403de065f8fedc1fbb4c06ed.zip
Support stage
Use libevent2
Diffstat (limited to 'net')
-rw-r--r--net/nylon/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/net/nylon/Makefile b/net/nylon/Makefile
index 2463dcbf4f97..af695b6df640 100644
--- a/net/nylon/Makefile
+++ b/net/nylon/Makefile
@@ -3,27 +3,26 @@
PORTNAME= nylon
PORTVERSION= 1.21
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net
MASTER_SITES= http://monkey.org/~marius/nylon/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Unix SOCKS 4 and 5 proxy server
+COMMENT= Unix SOCKS 4 and 5 proxy server
-LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
+LIB_DEPENDS= libevent-2.0.so:${PORTSDIR}/devel/libevent2
USE_RC_SUBR= nylon
+USES= pkgconfig
GNU_CONFIGURE= yes
-NO_STAGE= yes
# Necessary for $PREFIX to work:
-CONFIGURE_ARGS= --with-libevent=${LOCALBASE}
+CONFIGURE_ARGS= --with-libevent=yes
+CONFIGURE_ENV= EVENTLIB="`pkgconf --libs libevent`" EVENTINC="`pkgconf --cflags libevent`"
-MAN1= nylon.1
-
-PLIST_FILES= bin/nylon etc/nylon.conf.sample
+PLIST_FILES= bin/nylon etc/nylon.conf.sample man/man1/nylon.1.gz
post-install:
- ${INSTALL_DATA} ${FILESDIR}/nylon.conf ${PREFIX}/etc/nylon.conf.sample
+ ${INSTALL_DATA} ${FILESDIR}/nylon.conf ${STAGEDIR}${PREFIX}/etc/nylon.conf.sample
.include <bsd.port.mk>