2008-07-12 04:07:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2008/07/12 08:07:23 msf 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
|
|
|
|
2008-07-11 06:39:10 -04:00
|
|
|
VERSION= 1.5.0
|
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
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2008-07-11 06:39:10 -04:00
|
|
|
REGRESS_DEPENDS= ::devel/ruby-rspec \
|
|
|
|
::devel/ruby-mocha
|
|
|
|
|
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
|
|
|
|
|
2008-07-11 06:39:10 -04:00
|
|
|
do-regress:
|
2008-07-12 04:07:23 -04:00
|
|
|
@cd ${WRKSRC}/spec && ${LOCALBASE}/bin/rake all
|
2008-07-11 06:39:10 -04:00
|
|
|
|
|
|
|
|
2007-01-02 14:11:15 -05:00
|
|
|
.include <bsd.port.mk>
|