Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 15:41:53 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347260 - head/net/nylon
Message-ID:  <201403061541.s26FfrwG066947@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Mar  6 15:41:53 2014
New Revision: 347260
URL: http://svnweb.freebsd.org/changeset/ports/347260
QAT: https://qat.redports.org/buildarchive/r347260/

Log:
  Support stage
  Use libevent2

Modified:
  head/net/nylon/Makefile

Modified: head/net/nylon/Makefile
==============================================================================
--- head/net/nylon/Makefile	Thu Mar  6 15:28:16 2014	(r347259)
+++ head/net/nylon/Makefile	Thu Mar  6 15:41:53 2014	(r347260)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403061541.s26FfrwG066947>