aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/facter
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2012-05-02 09:35:29 +0800
committerswills <swills@FreeBSD.org>2012-05-02 09:35:29 +0800
commit43f7a79a2f41de02b6d83f5c70ca32bf33c88aba (patch)
tree7d6468fd08f6c187f93e31d551715774c4c529bc /sysutils/facter
parentd8b61ef08ee16e7674f5ef423c4404b241bd0ee8 (diff)
downloadfreebsd-ports-gnome-43f7a79a2f41de02b6d83f5c70ca32bf33c88aba.tar.gz
freebsd-ports-gnome-43f7a79a2f41de02b6d83f5c70ca32bf33c88aba.tar.zst
freebsd-ports-gnome-43f7a79a2f41de02b6d83f5c70ca32bf33c88aba.zip
- Update to 1.6.8 [1]
- Make dependency on dmidecode conditional on ARCH that supports it [2] PR: ports/167257 [1], ports/166824 [2] Approved by: Rouslan Iskhakov <rouslan@rshell.net> (maintainer)
Diffstat (limited to 'sysutils/facter')
-rw-r--r--sysutils/facter/Makefile9
-rw-r--r--sysutils/facter/distinfo4
2 files changed, 8 insertions, 5 deletions
diff --git a/sysutils/facter/Makefile b/sysutils/facter/Makefile
index 5029718755c5..7a97a40dbc20 100644
--- a/sysutils/facter/Makefile
+++ b/sysutils/facter/Makefile
@@ -6,15 +6,13 @@
#
PORTNAME= facter
-PORTVERSION= 1.6.5
+PORTVERSION= 1.6.8
CATEGORIES= sysutils ruby
MASTER_SITES= http://downloads.puppetlabs.com/facter/
MAINTAINER= rouslan@rshell.net
COMMENT= A cross-platform Ruby library for retrieving facts from OS
-RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode
-
NO_BUILD= yes
USE_RUBY= yes
@@ -25,4 +23,9 @@ do-install:
cd ${WRKSRC} && \
${SETENV} PREFIX=${PREFIX} ${RUBY} ${WRKSRC}/install.rb
+# Restrict dmidecode dependency to i386 and amd64 systems
+.if ${ARCH} == "amd64" || ${ARCH} == "i386"
+RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode
+.endif
+
.include <bsd.port.post.mk>
diff --git a/sysutils/facter/distinfo b/sysutils/facter/distinfo
index 5a0f7127f7bf..6b24d60039d0 100644
--- a/sysutils/facter/distinfo
+++ b/sysutils/facter/distinfo
@@ -1,2 +1,2 @@
-SHA256 (facter-1.6.5.tar.gz) = 831e6f6f12c2c55c0dc65c004e6a7b8a18c127aa6c0946c5db366517adefd2ac
-SIZE (facter-1.6.5.tar.gz) = 117372
+SHA256 (facter-1.6.8.tar.gz) = 79e178e191ffc32f6e5b0812c07256802afc3506e2aa8c8538773646c3a46335
+SIZE (facter-1.6.8.tar.gz) = 119323