2011-03-09 06:24:14 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2011/03/09 11:24:14 robert 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
|
|
|
|
2010-10-24 06:45:48 -04:00
|
|
|
VERSION= 1.5.8
|
2007-01-02 14:11:15 -05:00
|
|
|
DISTNAME= facter-${VERSION}
|
2008-07-11 06:39:10 -04:00
|
|
|
PKGNAME= ruby-${DISTNAME}
|
2011-03-09 06:24:14 -05:00
|
|
|
REVISION = 3
|
2007-01-02 14:11:15 -05:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
HOMEPAGE= http://reductivelabs.com/projects/facter/
|
|
|
|
MASTER_SITES= http://reductivelabs.com/downloads/facter/
|
|
|
|
|
2007-06-07 08:08:20 -04:00
|
|
|
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
|
2007-01-02 14:11:15 -05:00
|
|
|
|
|
|
|
# GPL license
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= lang/ruby
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
REGRESS_DEPENDS= devel/ruby-mocha
|
2010-10-27 09:40:29 -04:00
|
|
|
BUILD_DEPENDS += ${MODRUBY_BUILD_DEPENDS}
|
2008-07-11 06:39:10 -04:00
|
|
|
|
2007-01-02 14:11:15 -05:00
|
|
|
do-install:
|
2010-11-09 13:44:14 -05:00
|
|
|
${INSTALL_DATA_DIR} ${MODRUBY_EXAMPLEDIR}/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 \
|
2010-11-09 13:44:14 -05:00
|
|
|
${MODRUBY_EXAMPLEDIR}/facter
|
2007-01-02 14:11:15 -05:00
|
|
|
|
2010-09-23 18:30:24 -04:00
|
|
|
MODRUBY_REGRESS= rake rspec
|
2008-07-11 06:39:10 -04:00
|
|
|
do-regress:
|
2010-09-23 18:30:24 -04:00
|
|
|
@cd ${WRKSRC}/spec && ${RAKE} all
|
2008-07-11 06:39:10 -04:00
|
|
|
|
|
|
|
|
2007-01-02 14:11:15 -05:00
|
|
|
.include <bsd.port.mk>
|