2010-09-23 18:30:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2010/09/23 22:30:28 jeremy 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
|
|
|
|
2009-09-21 03:31:14 -04:00
|
|
|
VERSION= 1.5.6
|
2007-01-02 14:11:15 -05:00
|
|
|
DISTNAME= facter-${VERSION}
|
2008-07-11 06:39:10 -04:00
|
|
|
PKGNAME= ruby-${DISTNAME}
|
2010-09-23 18:30:24 -04:00
|
|
|
REVISION= 0
|
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-09-23 18:30:24 -04:00
|
|
|
REGRESS_DEPENDS= ::devel/ruby-mocha
|
2008-07-11 06:39:10 -04:00
|
|
|
|
2007-01-02 14:11:15 -05:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ruby-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 \
|
|
|
|
${PREFIX}/share/examples/ruby-facter
|
|
|
|
|
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>
|