450c1485e2
Approved by: swills (mentor)
26 lines
610 B
Makefile
26 lines
610 B
Makefile
# Created by: Tomoyuki Sakurai <cherry@trombik.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= facter
|
|
PORTVERSION= 2.1.0
|
|
CATEGORIES= sysutils rubygems
|
|
MASTER_SITES= RG \
|
|
http://downloads.puppetlabs.com/facter/
|
|
|
|
MAINTAINER= robak@FreeBSD.org
|
|
COMMENT= Cross-platform Ruby library for retrieving facts from OS
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
PLIST_FILES= bin/facter
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# Restrict dmidecode dependency to Intel based systems
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "i386" || ${ARCH} == "ia64"
|
|
RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|