openbsd-ports/sysutils/ruby-facter/Makefile
2012-10-08 08:52:48 +00:00

40 lines
903 B
Makefile

# $OpenBSD: Makefile,v 1.25 2012/10/08 08:52:48 jasper Exp $
SHARED_ONLY= Yes
COMMENT= Ruby library for retrieving facts from operating systems
VERSION= 1.6.13
DISTNAME= facter-${VERSION}
PKGNAME= ruby-${DISTNAME}
CATEGORIES= sysutils
HOMEPAGE= http://reductivelabs.com/projects/facter/
MASTER_SITES= http://reductivelabs.com/downloads/facter/
# Apache
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
USE_GROFF= Yes
NO_BUILD= Yes
REGRESS_DEPENDS= devel/ruby-mocha,${MODRUBY_FLAVOR}
BUILD_DEPENDS += ${MODRUBY_BUILD_DEPENDS}
do-install:
${INSTALL_DATA_DIR} ${MODRUBY_EXAMPLEDIR}/facter
@cd ${WRKSRC} && ${ALL_FAKE_FLAGS} ${RUBY} install.rb
${INSTALL_DATA} ${WRKSRC}/etc/facter.conf \
${MODRUBY_EXAMPLEDIR}/facter
cd ${PREFIX}/man/man8 && gunzip facter.8.gz
MODRUBY_REGRESS = rake rspec2
.include <bsd.port.mk>