git: c0c4fe9dad65 - main - net-mgmt/super_mediator: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Mar 2024 13:51:52 UTC
The branch main has been updated by naddy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c0c4fe9dad659ba6e36dce79f04afee1213b0235
commit c0c4fe9dad659ba6e36dce79f04afee1213b0235
Author: Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-18 13:42:58 +0000
Commit: Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-18 13:51:38 +0000
net-mgmt/super_mediator: Move man pages to share/man
Also fix build with MYSQL option disabled while here.
Approved by: portmgr (blanket)
---
net-mgmt/super_mediator/Makefile | 4 +++-
net-mgmt/super_mediator/pkg-plist | 8 ++++----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/net-mgmt/super_mediator/Makefile b/net-mgmt/super_mediator/Makefile
index 755cbb35b01d..246ec6e4b3b3 100644
--- a/net-mgmt/super_mediator/Makefile
+++ b/net-mgmt/super_mediator/Makefile
@@ -1,6 +1,6 @@
PORTNAME= super_mediator
PORTVERSION= 1.6.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= http://tools.netsa.cert.org/releases/
@@ -18,11 +18,13 @@ USES= compiler:c11 gnome libtool pathfix perl5 pkgconfig ssl
USE_GNOME= glib20
GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
INSTALL_TARGET= install-strip
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
OPTIONS_DEFINE= SPREAD MYSQL SKIPSET
OPTIONS_DEFAULT= MYSQL SKIPSET
+OPTIONS_SUB= yes
MYSQL_DESC= Enable SuperMediator to directly write into MySQL
SKIPSET_DESC= Enable SiLK IPSET files for filtering
diff --git a/net-mgmt/super_mediator/pkg-plist b/net-mgmt/super_mediator/pkg-plist
index 60b3836e02db..0c0f689262a6 100644
--- a/net-mgmt/super_mediator/pkg-plist
+++ b/net-mgmt/super_mediator/pkg-plist
@@ -1,6 +1,6 @@
-man/man1/super_mediator.conf.1.gz
-man/man1/super_table_creator.1.gz
-man/man1/super_mediator.1.gz
-bin/super_table_creator
bin/super_mediator
+%%MYSQL%%bin/super_table_creator
@sample etc/super_mediator.conf.sample
+share/man/man1/super_mediator.conf.1.gz
+share/man/man1/super_table_creator.1.gz
+share/man/man1/super_mediator.1.gz