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,24 +1,25 @@ PORTNAME= bmd-plugin-hookcmd DISTVERSION= 2.1 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= naito.yuichiro@gmail.com COMMENT= BMD plugin hookcmd WWW= https://github.com/yuichiro-naito/bmd-plugin-hookcmd LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= bhyve runs on amd64 only BUILD_DEPENDS= bmd>0:sysutils/bmd RUN_DEPENDS= bmd>0:sysutils/bmd USE_GITHUB= yes GH_ACCOUNT= yuichiro-naito pre-install: ${MKDIR} ${STAGEDIR}/${LOCALBASE}/libexec/bmd .include 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,12 +1,19 @@ ---- 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 +BINGRP!= id -g +SHAREOWN= ${BINOWN} +SHAREGRP= ${BINGRP} 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 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