diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-06 20:12:55 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-06 20:12:55 +0000 |
commit | 22329cfa0d2c441baa682d83b34acdba20d4de3f (patch) | |
tree | 2aea2e9bb4211a4f74ae4b813bc9cf89ecd5546f /sysutils/facter | |
parent | ae5e1412efebfe9c740fdbc90bc1a61f98eea148 (diff) | |
download | ports-22329cfa0d2c441baa682d83b34acdba20d4de3f.tar.gz ports-22329cfa0d2c441baa682d83b34acdba20d4de3f.zip |
Notes
Diffstat (limited to 'sysutils/facter')
-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 |
4 files changed, 43 insertions, 0 deletions
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 |