diff options
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/facter/Makefile | 27 | ||||
-rw-r--r-- | sysutils/facter/distinfo | 3 | ||||
-rw-r--r-- | sysutils/facter/pkg-descr | 7 | ||||
-rw-r--r-- | sysutils/facter/pkg-plist | 6 |
5 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 28d6c2519492..bcfae211d243 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -173,6 +173,7 @@ SUBDIR += extipl SUBDIR += extrackt SUBDIR += ezjail + SUBDIR += facter SUBDIR += fanout SUBDIR += farbot SUBDIR += fastest_cvsup diff --git a/sysutils/facter/Makefile b/sysutils/facter/Makefile new file mode 100644 index 000000000000..5c1bff72a7c0 --- /dev/null +++ b/sysutils/facter/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: rubygem-facter +# Date created: 2007-03-03 +# Whom: Tomoyuki Sakurai <cherry@trombik.mine.nu> +# +# $FreeBSD$ +# + +PORTNAME= facter +PORTVERSION= 1.3.6 +CATEGORIES= sysutils ruby +MASTER_SITES= http://www.reductivelabs.com/downloads/facter/ +EXTRACT_SUFX= .tgz + +MAINTAINER= cherry@trombik.mine.nu +COMMENT= A cross-platform Ruby library for retrieving facts from OS + +NO_BUILD= yes + +USE_RUBY= yes + +.include <bsd.port.pre.mk> + +do-install: + cd ${WRKSRC} && \ + ${SETENV} DSTDIR=${DSTDIR}/${PREFIX} ${RUBY} ${WRKSRC}/install.rb + +.include <bsd.port.post.mk> diff --git a/sysutils/facter/distinfo b/sysutils/facter/distinfo new file mode 100644 index 000000000000..0c44aed53cd0 --- /dev/null +++ b/sysutils/facter/distinfo @@ -0,0 +1,3 @@ +MD5 (facter-1.3.6.tgz) = 35cd0a16d7500061b5fe2f3615d1f677 +SHA256 (facter-1.3.6.tgz) = d728a3aeeddf7fd4621a55897716fbbad5028bf02af70433aab2a440c584303b +SIZE (facter-1.3.6.tgz) = 23449 diff --git a/sysutils/facter/pkg-descr b/sysutils/facter/pkg-descr new file mode 100644 index 000000000000..24d1822b0799 --- /dev/null +++ b/sysutils/facter/pkg-descr @@ -0,0 +1,7 @@ +A cross-platform Ruby library for retrieving facts from operating systems. +Supports multiple resolution mechanisms, any of which can be restricted to +working only on certain operating systems or environments. Facter is +especially useful for retrieving things like operating system names, IP +addresses, MAC addresses, and SSH keys. + +WWW: http://www.reductivelabs.com/projects/facter/ diff --git a/sysutils/facter/pkg-plist b/sysutils/facter/pkg-plist new file mode 100644 index 000000000000..6214a9bcdc6b --- /dev/null +++ b/sysutils/facter/pkg-plist @@ -0,0 +1,6 @@ +@comment $FreeBSD$ +bin/facter +%%RUBY_SITELIBDIR%%/facter.rb +%%RUBY_SITELIBDIR%%/facter/processor.rb +%%RUBY_SITELIBDIR%%/facter/memory.rb +@dirrmtry %%RUBY_SITELIBDIR%%/facter |