mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
sysutils/bmd-plugin-hookcmd: add new ports.
PR: 273437 Reported by: Yuichiro NAITO <naito.yuichiro at gmail.com>
This commit is contained in:
parent
2153f48f70
commit
8f7f59bbc2
@ -138,6 +138,7 @@
|
||||
SUBDIR += blisp
|
||||
SUBDIR += bmd
|
||||
SUBDIR += bmd-plugin-avahi
|
||||
SUBDIR += bmd-plugin-hookcmd
|
||||
SUBDIR += boot-extract
|
||||
SUBDIR += bottom
|
||||
SUBDIR += bpytop
|
||||
|
24
sysutils/bmd-plugin-hookcmd/Makefile
Normal file
24
sysutils/bmd-plugin-hookcmd/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
PORTNAME= bmd-plugin-hookcmd
|
||||
DISTVERSION= 1.0
|
||||
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
|
||||
|
||||
# Because bhyve runs on amd64 only.
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
|
||||
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 <bsd.port.mk>
|
3
sysutils/bmd-plugin-hookcmd/distinfo
Normal file
3
sysutils/bmd-plugin-hookcmd/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1693228512
|
||||
SHA256 (yuichiro-naito-bmd-plugin-hookcmd-1.0_GH0.tar.gz) = 0a856474290f23fcff5ba5eeab62d356df6d864528f5c56504769ac05a94917f
|
||||
SIZE (yuichiro-naito-bmd-plugin-hookcmd-1.0_GH0.tar.gz) = 2589
|
12
sysutils/bmd-plugin-hookcmd/files/patch-Makefile
Normal file
12
sysutils/bmd-plugin-hookcmd/files/patch-Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
--- Makefile.orig 2023-08-15 09:05:51 UTC
|
||||
+++ Makefile
|
||||
@@ -1,5 +1,9 @@ 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}\"
|
3
sysutils/bmd-plugin-hookcmd/pkg-descr
Normal file
3
sysutils/bmd-plugin-hookcmd/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
The bmd-plugin-hookcmd spawns the specific command when VM status is changed.
|
||||
If you write a script that mail to you, you will be notified when VM is started
|
||||
and stopped.
|
3
sysutils/bmd-plugin-hookcmd/pkg-plist
Normal file
3
sysutils/bmd-plugin-hookcmd/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
libexec/bmd/libbmdplugin_hookcmd.so
|
||||
libexec/bmd/libbmdplugin_hookcmd.so.1
|
||||
man/man8/bmd-plugin-hookcmd.8.gz
|
Loading…
Reference in New Issue
Block a user