new file: contrib/init/g15stats.in
new file: dists/g15stats/Makefile new file: dists/g15stats/distinfo new file: dists/g15stats/files/g15stats.in new file: dists/g15stats/pkg-descr new file: dists/g15stats/pkg-plist
This commit is contained in:
1 parent
bd01f2ab24
commit
2ba45c8e9a
6 files changed
+95
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: g15stats
|
||||
# REQUIRE: LOGIN g15daemon
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
|
||||
# to enable this service:
|
||||
#
|
||||
# g15stats_enable (bool): Set to NO by default.
|
||||
# Set it to YES to enable doormand.
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=g15stats
|
||||
rcvar="${name}_enable"
|
||||
load_rc_config $name
|
||||
|
||||
: ${g15stats_enable:="NO"}
|
||||
|
||||
command=%%PREFIX%%/bin/${name}
|
||||
command_args='-d -i re0'
|
||||
|
||||
run_rc_command "$1"
|
||||
@@ -0,0 +1,35 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= g15stats
|
||||
PORTVERSION= 1.9.8
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://gitlab.com/menelkir/${PORTNAME}/-/archive/${PORTVERSION}/
|
||||
|
||||
MAINTAINER= menelkir@itroll.org
|
||||
COMMENT= Resource monitor for G15daemon
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS+= libg15.so:sysutils/libg15 \
|
||||
libg15render.so:sysutils/libg15render \
|
||||
libgtop-2.0.so:devel/libgtop \
|
||||
libg15daemon_client.so:sysutils/g15daemon
|
||||
|
||||
USES= gmake localbase libtool gnome pkgconfig
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GNOME+= glib20
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CFLAGS+= -std=c99 -fcommon
|
||||
|
||||
USE_RC_SUBR= g15stats
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
PLIST_FILES= bin/g15stats \
|
||||
etc/rc.d/g15stats
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1615334892
|
||||
SHA256 (g15stats-1.9.8.tar.gz) = 803d51e1a365131e16be471ba1635d8626a0afefd937645a2d00ee222279bdb4
|
||||
SIZE (g15stats-1.9.8.tar.gz) = 360971
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: g15stats
|
||||
# REQUIRE: LOGIN g15daemon
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
|
||||
# to enable this service:
|
||||
#
|
||||
# g15stats_enable (bool): Set to NO by default.
|
||||
# Set it to YES to enable doormand.
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=g15stats
|
||||
rcvar="${name}_enable"
|
||||
load_rc_config $name
|
||||
|
||||
: ${g15stats_enable:="NO"}
|
||||
|
||||
command=%%PREFIX%%/bin/${name}
|
||||
command_args='-d -i re0'
|
||||
|
||||
run_rc_command "$1"
|
||||
@@ -0,0 +1,3 @@
|
||||
Resource Monitor for G15Daemon.
|
||||
|
||||
WWW: https://gitlab.com/menelkir/g15stats
|
||||
@@ -0,0 +1,2 @@
|
||||
bin/g15stats
|
||||
etc/rc.d/g15stats
|
||||
Reference in new issue
Block a user