2011-12-06 09:39:01 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2011/12/06 14:39:01 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
|
|
|
|
2011-07-28 04:37:43 -04:00
|
|
|
VERSION= 1.6.0
|
2007-01-02 14:11:15 -05:00
|
|
|
DISTNAME= facter-${VERSION}
|
2008-07-11 06:39:10 -04:00
|
|
|
PKGNAME= ruby-${DISTNAME}
|
2011-12-06 09:39:01 -05:00
|
|
|
REVISION= 1
|
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
|
|
|
|
2011-11-17 11:08:00 -05:00
|
|
|
MODRUBY_REGRESS = rake rspec2
|
2008-07-11 06:39:10 -04:00
|
|
|
|
|
|
|
|
2007-01-02 14:11:15 -05:00
|
|
|
.include <bsd.port.mk>
|