aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ettercap
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-11-13 05:39:26 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-11-13 05:39:26 +0800
commit5b6a27540501250698efead99e6392c964a2686b (patch)
tree573043946894227024fb9d6f1a2a77f642b588fe /net-mgmt/ettercap
parent8e205781f2a85284b1c121ce6137eac12e050b08 (diff)
downloadfreebsd-ports-gnome-5b6a27540501250698efead99e6392c964a2686b.tar.gz
freebsd-ports-gnome-5b6a27540501250698efead99e6392c964a2686b.tar.zst
freebsd-ports-gnome-5b6a27540501250698efead99e6392c964a2686b.zip
- Add LICENSE_FILE
- Use USES=localbase - Convert to new options target helper
Diffstat (limited to 'net-mgmt/ettercap')
-rw-r--r--net-mgmt/ettercap/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-mgmt/ettercap/Makefile b/net-mgmt/ettercap/Makefile
index 4a9f5321fb63..4627297ed288 100644
--- a/net-mgmt/ettercap/Makefile
+++ b/net-mgmt/ettercap/Makefile
@@ -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}/