git: 579f4a19fe9c - main - net-mgmt/ettercap: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:19:33 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=579f4a19fe9cf121b567e11bdfa9a856475bea7f

commit 579f4a19fe9cf121b567e11bdfa9a856475bea7f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:27:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:39 +0000

    net-mgmt/ettercap: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 net-mgmt/ettercap/Makefile  |  3 +--
 net-mgmt/ettercap/pkg-plist | 14 +++++++-------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/net-mgmt/ettercap/Makefile b/net-mgmt/ettercap/Makefile
index e6765ee1ba5d..ad52442a135d 100644
--- a/net-mgmt/ettercap/Makefile
+++ b/net-mgmt/ettercap/Makefile
@@ -18,8 +18,7 @@ USES=		bison cmake cpe iconv localbase:ldflags pkgconfig
 
 CMAKE_ARGS=	-DHAVE_PCAP=${LIBDIR} \
 		-DHAVE_RESOLV=${LIBDIR} \
-		-DINSTALL_SYSCONFDIR=${PREFIX}/etc \
-		-DMAN_INSTALLDIR=${PREFIX}/man
+		-DINSTALL_SYSCONFDIR=${PREFIX}/etc
 CMAKE_OFF=	BUNDLED_LIBS ENABLE_GEOIP ENABLE_LUA ENABLE_PDF_DOCS ENABLE_TESTS LIBRARY_BUILD
 CMAKE_ON=	HAVE_DLOPEN
 LDFLAGS+=	${ICONV_LIB} -lnet -lpcap
diff --git a/net-mgmt/ettercap/pkg-plist b/net-mgmt/ettercap/pkg-plist
index d3e4ee8f2aec..4c60c5a08311 100644
--- a/net-mgmt/ettercap/pkg-plist
+++ b/net-mgmt/ettercap/pkg-plist
@@ -47,13 +47,6 @@ lib/libettercap-ui.so.0.8.3.1
 lib/libettercap.so
 lib/libettercap.so.0
 lib/libettercap.so.0.8.3.1
-man/man5/etter.conf.5.gz
-%%DESKTOP%%man/man8/ettercap-pkexec.8.gz
-man/man8/ettercap.8.gz
-man/man8/ettercap_curses.8.gz
-%%PLUGINS%%man/man8/ettercap_plugins.8.gz
-man/man8/etterfilter.8.gz
-man/man8/etterlog.8.gz
 %%DESKTOP%%%%GTK3%%share/appdata/ettercap.appdata.xml
 %%DESKTOP%%%%GTK3%%share/applications/ettercap.desktop
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
@@ -92,5 +85,12 @@ man/man8/etterlog.8.gz
 %%DATADIR%%/etterfilter.cnt
 %%DATADIR%%/etterfilter.tbl
 %%DATADIR%%/etterlog.dtd
+share/man/man5/etter.conf.5.gz
+%%DESKTOP%%share/man/man8/ettercap-pkexec.8.gz
+share/man/man8/ettercap.8.gz
+share/man/man8/ettercap_curses.8.gz
+%%PLUGINS%%share/man/man8/ettercap_plugins.8.gz
+share/man/man8/etterfilter.8.gz
+share/man/man8/etterlog.8.gz
 %%DESKTOP%%%%GTK3%%share/pixmaps/ettercap.svg
 %%DESKTOP%%%%GTK3%%share/polkit-1/actions/org.pkexec.ettercap.policy