openbsd-ports/sysutils/ruby-facter/Makefile

36 lines
826 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.5 2008/06/14 23:55:46 landry Exp $
SHARED_ONLY= Yes
COMMENT= Ruby library for retrieving facts from operating systems
VERSION= 1.3.7
DISTNAME= facter-${VERSION}
PKGNAME= ruby-${DISTNAME}p0
CATEGORIES= sysutils
EXTRACT_SUFX= .tgz
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_REGRESS= Yes
NO_BUILD= Yes
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
.include <bsd.port.mk>