2012-05-05 15:32:01 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.41 2012/05/05 19:32:01 robert Exp $
|
2007-01-03 05:01:47 -05:00
|
|
|
|
2007-09-15 17:14:00 -04:00
|
|
|
COMMENT= centralised configuration management for networks
|
2007-01-03 05:01:47 -05:00
|
|
|
|
2012-05-05 15:32:01 -04:00
|
|
|
VERSION= 2.7.14
|
2007-01-03 05:01:47 -05:00
|
|
|
DISTNAME= puppet-${VERSION}
|
2010-05-07 11:53:34 -04:00
|
|
|
PKGNAME= ruby-${DISTNAME}
|
2007-01-03 05:01:47 -05:00
|
|
|
CATEGORIES= sysutils net
|
|
|
|
|
|
|
|
HOMEPAGE= http://reductivelabs.com/projects/puppet/
|
|
|
|
MASTER_SITES= http://reductivelabs.com/downloads/puppet/
|
|
|
|
|
2010-09-30 11:39:11 -04:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
2007-01-03 05:01:47 -05:00
|
|
|
|
2011-03-20 11:46:34 -04:00
|
|
|
# GPLv2
|
2007-01-03 05:01:47 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= lang/ruby
|
2008-06-05 03:22:59 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2010-11-20 12:22:40 -05:00
|
|
|
RUN_DEPENDS= converters/ruby-json \
|
|
|
|
sysutils/ruby-facter \
|
2010-09-23 18:30:24 -04:00
|
|
|
${MODRUBY_ICONV_DEPENDS}
|
2007-01-03 05:01:47 -05:00
|
|
|
|
2010-10-19 03:43:00 -04:00
|
|
|
USE_GROFF = Yes
|
2007-01-03 05:01:47 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
NO_BUILD= Yes
|
|
|
|
|
|
|
|
do-install:
|
2010-11-09 13:44:14 -05:00
|
|
|
${INSTALL_DATA_DIR} ${MODRUBY_EXAMPLEDIR}/puppet
|
2008-01-04 12:48:33 -05:00
|
|
|
@cd ${WRKSRC} && ${ALL_FAKE_FLAGS} ${RUBY} install.rb
|
2009-09-21 04:01:20 -04:00
|
|
|
for f in `ls -1 ${WRKSRC}/examples/etc/puppet/*.conf`; do \
|
2010-11-09 13:44:14 -05:00
|
|
|
${INSTALL_DATA} $$f ${MODRUBY_EXAMPLEDIR}/puppet; \
|
2007-01-03 05:01:47 -05:00
|
|
|
done
|
2011-11-24 03:39:12 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ext/emacs/* ${PREFIX}/share/emacs/site-lisp/
|
2007-01-03 05:01:47 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|