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