aboutsummaryrefslogtreecommitdiff
path: root/devel/libsysinfo
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-04-25 17:25:05 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-04-25 17:25:05 +0000
commit17b6e307dc46e8af0cda9a761b7df7c4910a6695 (patch)
tree9dc7d10c5fd23f3ace15bac304016cc3f65478c4 /devel/libsysinfo
parentb837a78b12b9397860c7de8a88c1d68dda3af801 (diff)
downloadports-17b6e307dc46e8af0cda9a761b7df7c4910a6695.tar.gz
ports-17b6e307dc46e8af0cda9a761b7df7c4910a6695.zip
Add new port: devel/libsysinfo
The sysinfo(3) function is a GNU interface for retrieving common information about the configuration and state of the system, such as is returned by sysctl(3) and sysconf(3). WWW: http://code.google.com/p/sysinfo-bsd/ PR: ports/166843 Submitted by: jwbacon@tds.net
Notes
Notes: svn path=/head/; revision=295512
Diffstat (limited to 'devel/libsysinfo')
-rw-r--r--devel/libsysinfo/Makefile29
-rw-r--r--devel/libsysinfo/distinfo2
-rw-r--r--devel/libsysinfo/pkg-descr5
3 files changed, 36 insertions, 0 deletions
diff --git a/devel/libsysinfo/Makefile b/devel/libsysinfo/Makefile
new file mode 100644
index 000000000000..1fff4d4e5cfa
--- /dev/null
+++ b/devel/libsysinfo/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: libsysinfo
+# Date created: 14 April 2012
+# Whom: Jason Bacon <jwbacon@tds.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libsysinfo
+PORTVERSION= 0.0.2
+CATEGORIES= devel
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= jwbacon@tds.net
+COMMENT= GNU libc's sysinfo port for FreeBSD
+
+LICENSE= BSD
+
+USE_LDCONFIG= yes
+PROJECTHOST= sysinfo-bsd
+
+PLIST_FILES= include/sys/sysinfo.h \
+ lib/libsysinfo.a \
+ lib/libsysinfo.so \
+ lib/libsysinfo.so.0
+PLIST_DIRSTRY= include/sys
+
+MAN3= sysinfo.3
+
+.include <bsd.port.mk>
diff --git a/devel/libsysinfo/distinfo b/devel/libsysinfo/distinfo
new file mode 100644
index 000000000000..1d09d0c00dfd
--- /dev/null
+++ b/devel/libsysinfo/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libsysinfo-0.0.2.tar.gz) = 190fbb5002950bcb16d618eeceb144d226dc363d44949ee0c935166f0420db8b
+SIZE (libsysinfo-0.0.2.tar.gz) = 3541
diff --git a/devel/libsysinfo/pkg-descr b/devel/libsysinfo/pkg-descr
new file mode 100644
index 000000000000..ea7e5fb2b107
--- /dev/null
+++ b/devel/libsysinfo/pkg-descr
@@ -0,0 +1,5 @@
+The sysinfo(3) function is a GNU interface for retrieving common information
+about the configuration and state of the system, such as is returned by
+sysctl(3) and sysconf(3).
+
+WWW: http://code.google.com/p/sysinfo-bsd/