From owner-svn-ports-all@freebsd.org Thu Nov 12 21:39:27 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DB34A2D833; Thu, 12 Nov 2015 21:39:27 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 673641C1D; Thu, 12 Nov 2015 21:39:27 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tACLdQrC079416; Thu, 12 Nov 2015 21:39:26 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tACLdQJf079415; Thu, 12 Nov 2015 21:39:26 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201511122139.tACLdQJf079415@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 12 Nov 2015 21:39:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401400 - head/net-mgmt/ettercap X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 21:39:27 -0000 Author: sunpoet Date: Thu Nov 12 21:39:26 2015 New Revision: 401400 URL: https://svnweb.freebsd.org/changeset/ports/401400 Log: - Add LICENSE_FILE - Use USES=localbase - Convert to new options target helper Modified: head/net-mgmt/ettercap/Makefile Modified: head/net-mgmt/ettercap/Makefile ============================================================================== --- head/net-mgmt/ettercap/Makefile Thu Nov 12 21:34:58 2015 (r401399) +++ head/net-mgmt/ettercap/Makefile Thu Nov 12 21:39:26 2015 (r401400) @@ -11,6 +11,7 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Network sniffer/interceptor/injector/logger for switched LANs LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet @@ -30,10 +31,10 @@ CMAKE_ARGS= -DBUNDLED_LIBS=OFF \ -DINSTALL_SYSCONFDIR=${PREFIX}/etc \ -DMAN_INSTALLDIR=${PREFIX}/man CMAKE_VERBOSE= yes -LDFLAGS+= -L${LIBDIR} -L${LOCALBASE}/lib -L${LOCALBASE}/lib/libnet11 ${ICONV_LIB} -lnet -lpcap +LDFLAGS+= -L${LIBDIR} -L${LOCALBASE}/lib/libnet11 ${ICONV_LIB} -lnet -lpcap MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes -USES= bison cmake:outsource cpe iconv pkgconfig +USES= bison cmake:outsource cpe iconv localbase pkgconfig DOCS= AUTHORS CHANGELOG README README.BINARIES README.BUGS \ README.GIT README.PLATFORMS THANKS TODO TODO.TESTING \ @@ -74,6 +75,8 @@ UTF8_USES= iconv post-install: ${INSTALL_DATA} ${STAGEDIR}${ETCDIR}/etter.conf ${STAGEDIR}${PREFIX}/etc/etter.conf.sample + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/