# $OpenBSD: Makefile,v 1.9 2009/09/21 07:31:14 msf Exp $ SHARED_ONLY= Yes COMMENT= Ruby library for retrieving facts from operating systems VERSION= 1.5.6 DISTNAME= facter-${VERSION} PKGNAME= ruby-${DISTNAME} CATEGORIES= sysutils HOMEPAGE= http://reductivelabs.com/projects/facter/ MASTER_SITES= http://reductivelabs.com/downloads/facter/ MAINTAINER= Mathieu Sauve-Frankel # GPL license PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MODULES= lang/ruby NO_BUILD= Yes REGRESS_DEPENDS= ::devel/ruby-rspec \ ::devel/ruby-mocha do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ruby-facter @cd ${WRKSRC} && ${ALL_FAKE_FLAGS} ${RUBY} install.rb ${INSTALL_DATA} ${WRKSRC}/etc/facter.conf \ ${PREFIX}/share/examples/ruby-facter do-regress: @cd ${WRKSRC}/spec && ${LOCALBASE}/bin/rake all .include