aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-08-09 12:54:33 +0800
committermiwi <miwi@FreeBSD.org>2010-08-09 12:54:33 +0800
commit769dba594aab41730cf6e1d7df8fcb72726ff7cf (patch)
tree94e37db839a6bfe221ba82297d59ac78b720f410
parent43eed76e23786d562f1be38ea4d848d2f424d054 (diff)
downloadfreebsd-ports-gnome-769dba594aab41730cf6e1d7df8fcb72726ff7cf.tar.gz
freebsd-ports-gnome-769dba594aab41730cf6e1d7df8fcb72726ff7cf.tar.zst
freebsd-ports-gnome-769dba594aab41730cf6e1d7df8fcb72726ff7cf.zip
The sys-uptime library is a simple interface for
gathering uptime information. You can retrieve data in seconds, minutes, days, hours, or all of the above. WWW: http://sysutils.rubyforge.org/ PR: ports/149384 Submitted by: Eric Freeman <freebsdports at chillibear.com>
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rubygem-sys-uptime/Makefile20
-rw-r--r--sysutils/rubygem-sys-uptime/distinfo3
-rw-r--r--sysutils/rubygem-sys-uptime/pkg-descr5
4 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index b71d0dc11acf..6e3cf7b79a6e 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -744,6 +744,7 @@
SUBDIR += rubygem-sys-filesystem
SUBDIR += rubygem-sys-host
SUBDIR += rubygem-sys-uname
+ SUBDIR += rubygem-sys-uptime
SUBDIR += runit
SUBDIR += runwhen
SUBDIR += safe-rm
diff --git a/sysutils/rubygem-sys-uptime/Makefile b/sysutils/rubygem-sys-uptime/Makefile
new file mode 100644
index 000000000000..3684be8eb68f
--- /dev/null
+++ b/sysutils/rubygem-sys-uptime/Makefile
@@ -0,0 +1,20 @@
+# Ports collection makefile for: rubygem-sys-uptime
+# Date created: 30 July 2010
+# Whom: Eric Freeman <freebsdports@chillibear.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sys-uptime
+PORTVERSION= 0.5.3
+CATEGORIES= sysutils rubygems
+MASTER_SITES= RG
+
+MAINTAINER= freebsdports@chillibear.com
+COMMENT= Provides uptime and boot time information
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/rubygem-sys-uptime/distinfo b/sysutils/rubygem-sys-uptime/distinfo
new file mode 100644
index 000000000000..788894ba8c10
--- /dev/null
+++ b/sysutils/rubygem-sys-uptime/distinfo
@@ -0,0 +1,3 @@
+MD5 (rubygem/sys-uptime-0.5.3.gem) = b6e9f317886e67645cc57fff4baf82a2
+SHA256 (rubygem/sys-uptime-0.5.3.gem) = c94be406deba04bcba6f73bd5f87a4ad708589ae0e54c73f7e6c1c553bc934d9
+SIZE (rubygem/sys-uptime-0.5.3.gem) = 9728
diff --git a/sysutils/rubygem-sys-uptime/pkg-descr b/sysutils/rubygem-sys-uptime/pkg-descr
new file mode 100644
index 000000000000..9610ab1a1855
--- /dev/null
+++ b/sysutils/rubygem-sys-uptime/pkg-descr
@@ -0,0 +1,5 @@
+The sys-uptime library is a simple interface for
+gathering uptime information. You can retrieve data
+in seconds, minutes, days, hours, or all of the above.
+
+WWW: http://sysutils.rubyforge.org/