openbsd-ports/sysutils/ruby-facter/Makefile

39 lines
904 B
Makefile
Raw Normal View History

2013-03-25 03:57:00 -04:00
# $OpenBSD: Makefile,v 1.33 2013/03/25 07:57:00 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= Ruby library for retrieving facts from operating systems
2013-03-25 03:57:00 -04:00
VERSION= 1.6.18
DISTNAME= facter-${VERSION}
PKGNAME= ruby-${DISTNAME}
CATEGORIES= sysutils
2013-01-17 14:52:14 -05:00
MAINTAINER= Robert Nagy <robert@openbsd.org>
HOMEPAGE= http://projects.puppetlabs.com/projects/facter
MASTER_SITES= https://puppetlabs.com/downloads/facter/
2012-10-08 04:52:48 -04:00
# Apache
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/ruby
MODRUBY_REV= 1.8
NO_BUILD= Yes
2013-03-20 02:50:05 -04:00
PKG_ARCH= *
2013-03-11 07:35:43 -04:00
TEST_DEPENDS=devel/ruby-mocha,${MODRUBY_FLAVOR}
BUILD_DEPENDS= ${MODRUBY_BUILD_DEPENDS}
2013-03-11 07:35:43 -04:00
MODRUBY_TEST=rake rspec2
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-facter
@cd ${WRKSRC} && ${ALL_FAKE_FLAGS} ${RUBY} install.rb
${INSTALL_DATA} ${WRKSRC}/etc/facter.conf \
${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-facter
2012-10-08 04:49:06 -04:00
cd ${PREFIX}/man/man8 && gunzip facter.8.gz
.include <bsd.port.mk>