d765f5df76
In the upgrade from ruby 1.8.6 to 1.8.7, the PLISTs changed due to differences in how RDoc processes files. This also has a number of changes to the regress tests to work with the changes to devel/ruby-rake. It moves most of the regress tests to use MODRUBY_REGRESS. OK jcs@, landry@, jasper@, sthen@
42 lines
916 B
Makefile
42 lines
916 B
Makefile
# $OpenBSD: Makefile,v 1.10 2010/09/23 22:30:28 jeremy Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= Ruby library for retrieving facts from operating systems
|
|
|
|
VERSION= 1.5.6
|
|
DISTNAME= facter-${VERSION}
|
|
PKGNAME= ruby-${DISTNAME}
|
|
REVISION= 0
|
|
CATEGORIES= sysutils
|
|
|
|
HOMEPAGE= http://reductivelabs.com/projects/facter/
|
|
MASTER_SITES= http://reductivelabs.com/downloads/facter/
|
|
|
|
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
|
|
|
|
# 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-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
|
|
|
|
MODRUBY_REGRESS= rake rspec
|
|
do-regress:
|
|
@cd ${WRKSRC}/spec && ${RAKE} all
|
|
|
|
|
|
.include <bsd.port.mk>
|