sysutils/bmd-plugin-hookcmd: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Christian Weisgerber 2024-03-19 16:36:48 +01:00
parent 4848cbc978
commit 7a4e8412a3
3 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= bmd-plugin-hookcmd
DISTVERSION= 2.1
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= naito.yuichiro@gmail.com

View File

@ -1,6 +1,6 @@
--- Makefile.orig 2023-08-15 09:05:51 UTC
--- Makefile.orig 2023-09-15 03:21:14 UTC
+++ Makefile
@@ -1,5 +1,9 @@ MK_DEBUG_FILES= no
@@ -1,11 +1,15 @@ MK_DEBUG_FILES= no
LOCALBASE?= /usr/local
MK_DEBUG_FILES= no
+BINOWN!= id -u
@ -10,3 +10,10 @@
SHLIB= bmdplugin_hookcmd
SHLIB_MAJOR= 1
CFLAGS+= -I${LOCALBASE}/include -DLOCALBASE=\"${LOCALBASE}\"
LIBDIR= $(LOCALBASE)/libexec/bmd
SRCS= hookcmd.c
MAN= bmd-plugin-hookcmd.8
-MANDIR= $(LOCALBASE)/man/man
+MANDIR= $(LOCALBASE)/share/man/man
.include <bsd.lib.mk>

View File

@ -1,3 +1,3 @@
libexec/bmd/libbmdplugin_hookcmd.so
libexec/bmd/libbmdplugin_hookcmd.so.1
man/man8/bmd-plugin-hookcmd.8.gz
share/man/man8/bmd-plugin-hookcmd.8.gz