aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-05-02 01:35:29 +0000
committerSteve Wills <swills@FreeBSD.org>2012-05-02 01:35:29 +0000
commit78146f79506513d8867a7a3d516042ba00ed9cc9 (patch)
tree93abdf72b54724c81c0113b9cec1043430fcf1cf
parent8d5a4f80dfa96c5722e267b66d44e1847d6e91ed (diff)
downloadports-78146f79506513d8867a7a3d516042ba00ed9cc9.tar.gz
ports-78146f79506513d8867a7a3d516042ba00ed9cc9.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)
Notes
Notes: svn path=/head/; revision=295830
-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