aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bmd-plugin-hookcmd
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2024-03-19 15:36:48 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2024-03-19 20:12:42 +0000
commit7a4e8412a3a1a7de1664964dd4e6dae3580f465a (patch)
tree2d2f6936a607d5276601697d094cf2913161d950 /sysutils/bmd-plugin-hookcmd
parent4848cbc978d52a9026da95eb6612087c91747bd3 (diff)
Diffstat (limited to 'sysutils/bmd-plugin-hookcmd')
-rw-r--r--sysutils/bmd-plugin-hookcmd/Makefile1
-rw-r--r--sysutils/bmd-plugin-hookcmd/files/patch-Makefile11
-rw-r--r--sysutils/bmd-plugin-hookcmd/pkg-plist2
3 files changed, 11 insertions, 3 deletions
diff --git a/sysutils/bmd-plugin-hookcmd/Makefile b/sysutils/bmd-plugin-hookcmd/Makefile
index c54ba60c4bcf..2c70c5212da3 100644
--- a/sysutils/bmd-plugin-hookcmd/Makefile
+++ b/sysutils/bmd-plugin-hookcmd/Makefile
@@ -1,5 +1,6 @@
PORTNAME= bmd-plugin-hookcmd
DISTVERSION= 2.1
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= naito.yuichiro@gmail.com
diff --git a/sysutils/bmd-plugin-hookcmd/files/patch-Makefile b/sysutils/bmd-plugin-hookcmd/files/patch-Makefile
index fb9d88ce51dc..faffc3fa96d7 100644
--- a/sysutils/bmd-plugin-hookcmd/files/patch-Makefile
+++ b/sysutils/bmd-plugin-hookcmd/files/patch-Makefile
@@ -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>
diff --git a/sysutils/bmd-plugin-hookcmd/pkg-plist b/sysutils/bmd-plugin-hookcmd/pkg-plist
index 91ba9d6dabce..d80ee88b77a0 100644
--- a/sysutils/bmd-plugin-hookcmd/pkg-plist
+++ b/sysutils/bmd-plugin-hookcmd/pkg-plist
@@ -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