Skip to content

Commit

Permalink
net/ntopng: Move man pages to share/man.
Browse files Browse the repository at this point in the history
  • Loading branch information
madpilot78 committed Mar 1, 2024
1 parent ddfd54f commit 9cdbb35
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions net/ntopng/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ntopng
PORTVERSION= 6.0.d20240102
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net

Expand Down
11 changes: 10 additions & 1 deletion 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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 9cdbb35

Please sign in to comment.