From 42ce3331f18ca7693cbb888f52a2ca9ab24c8172 Mon Sep 17 00:00:00 2001 From: Nuno Teixeira Date: Wed, 20 Mar 2024 12:16:13 +0000 Subject: [PATCH] net-mgmt/mdata-client: Move man pages to share/man Approved by: portmgr (blanket) --- net-mgmt/mdata-client/Makefile | 1 + net-mgmt/mdata-client/files/patch-Makefile | 4 ++-- net-mgmt/mdata-client/pkg-plist | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/net-mgmt/mdata-client/Makefile b/net-mgmt/mdata-client/Makefile index e23788dd3e4a..57c892076011 100644 --- a/net-mgmt/mdata-client/Makefile +++ b/net-mgmt/mdata-client/Makefile @@ -1,5 +1,6 @@ PORTNAME= mdata-client PORTVERSION= 20151001 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= otis@FreeBSD.org diff --git a/net-mgmt/mdata-client/files/patch-Makefile b/net-mgmt/mdata-client/files/patch-Makefile index e1df5d473a55..42f8bccf1168 100644 --- a/net-mgmt/mdata-client/files/patch-Makefile +++ b/net-mgmt/mdata-client/files/patch-Makefile @@ -1,6 +1,6 @@ --- Makefile.orig 2015-04-24 23:13:47 UTC +++ Makefile -@@ -18,9 +18,9 @@ HDRS = dynstr.h plat.h proto.h common.h base64.h crc32 +@@ -18,9 +18,9 @@ LDLIBS = CFLAGS = -I$(PWD) -Wall -Wextra -Werror -g -O2 LDLIBS = @@ -8,7 +8,7 @@ +BINDIR = ${PREFIX}/sbin MANSECT = 1m -MANDIR = /usr/share/man/man$(MANSECT) -+MANDIR = ${PREFIX}/man/man$(MANSECT) ++MANDIR = ${PREFIX}/share/man/man$(MANSECT) DESTDIR = $(PWD)/proto PROGS = \ diff --git a/net-mgmt/mdata-client/pkg-plist b/net-mgmt/mdata-client/pkg-plist index 534a3da91da2..9728a04a56e2 100644 --- a/net-mgmt/mdata-client/pkg-plist +++ b/net-mgmt/mdata-client/pkg-plist @@ -1,8 +1,8 @@ -man/man1/mdata-delete.1.gz -man/man1/mdata-get.1.gz -man/man1/mdata-list.1.gz -man/man1/mdata-put.1.gz sbin/mdata-delete sbin/mdata-get sbin/mdata-list sbin/mdata-put +share/man/man1/mdata-delete.1.gz +share/man/man1/mdata-get.1.gz +share/man/man1/mdata-list.1.gz +share/man/man1/mdata-put.1.gz