aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2024-03-01 23:40:01 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2024-03-01 23:40:01 +0000
commit9cdbb352f6eb37f60b48cbada8984c39eebc42ec (patch)
treeaba6dc2b974524f17cb36ab459f539c613ed6346
parentddfd54fe30c125c9b4f1df55f1199ff695214e56 (diff)
downloadports-9cdbb352f6eb37f60b48cbada8984c39eebc42ec.tar.gz
ports-9cdbb352f6eb37f60b48cbada8984c39eebc42ec.zip
net/ntopng: Move man pages to share/man.
-rw-r--r--net/ntopng/Makefile1
-rw-r--r--net/ntopng/files/patch-configure.ac.in11
-rw-r--r--net/ntopng/pkg-plist2
3 files changed, 12 insertions, 2 deletions
diff --git a/net/ntopng/Makefile b/net/ntopng/Makefile
index 208855654859..d75deed86053 100644
--- a/net/ntopng/Makefile
+++ b/net/ntopng/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ntopng
PORTVERSION= 6.0.d20240102
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
diff --git a/net/ntopng/files/patch-configure.ac.in b/net/ntopng/files/patch-configure.ac.in
index ccb3bc112353..f0b7cc680a7e 100644
--- a/net/ntopng/files/patch-configure.ac.in
+++ b/net/ntopng/files/patch-configure.ac.in
@@ -1,4 +1,4 @@
---- configure.ac.in.orig 2023-11-03 09:27:20 UTC
+--- configure.ac.in.orig 2024-01-02 16:25:47 UTC
+++ configure.ac.in
@@ -142,40 +142,8 @@ LIBPCAP=-lpcap
MAKE=make
@@ -213,3 +213,12 @@
fi
AC_CHECK_LIB([expat], [XML_ParserCreate], expat=true)
+@@ -818,7 +733,7 @@ fi
+ INSTALL_DIR=${ac_default_prefix}
+ fi
+
+-if test $SYSTEM = "Darwin"; then
++if test $SYSTEM = "Darwin" -o $SYSTEM = "FreeBSD"; then
+ MAN_DIR=$INSTALL_DIR/share/man
+ else
+ MAN_DIR=$INSTALL_DIR/man
diff --git a/net/ntopng/pkg-plist b/net/ntopng/pkg-plist
index daf4c255c643..2a0ace77ea95 100644
--- a/net/ntopng/pkg-plist
+++ b/net/ntopng/pkg-plist
@@ -1,6 +1,6 @@
bin/ntopng
bin/ntopng-geoip2update.sh
-man/man8/ntopng.8.gz
+share/man/man8/ntopng.8.gz
%%DATADIR%%/httpdocs/css/README.md
%%DATADIR%%/httpdocs/css/select2.min.css
%%DATADIR%%/httpdocs/dist/0a1b701f5563c2288281.ttf