From 1d13ef08513bde031e67befa530cf29cdd1a7e55 Mon Sep 17 00:00:00 2001 From: jgh Date: Wed, 25 Apr 2012 17:25:05 +0000 Subject: 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 --- devel/Makefile | 1 + devel/libsysinfo/Makefile | 29 +++++++++++++++++++++++++++++ devel/libsysinfo/distinfo | 2 ++ devel/libsysinfo/pkg-descr | 5 +++++ 4 files changed, 37 insertions(+) create mode 100644 devel/libsysinfo/Makefile create mode 100644 devel/libsysinfo/distinfo create mode 100644 devel/libsysinfo/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 1ade5a76c1b1..08509ad00782 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -965,6 +965,7 @@ SUBDIR += libstatgrab SUBDIR += libstrfunc SUBDIR += libstroke + SUBDIR += libsysinfo SUBDIR += libtai SUBDIR += libtap SUBDIR += libtar 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 +# +# $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 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/ -- cgit