openbsd-ports/sysutils/ruby-puppet/Makefile
ajacoutot c54e12bbe0 Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.
2011-05-11 07:45:52 +00:00

41 lines
949 B
Makefile

# $OpenBSD: Makefile,v 1.31 2011/05/11 07:45:52 ajacoutot Exp $
COMMENT= centralised configuration management for networks
VERSION= 2.6.5
DISTNAME= puppet-${VERSION}
PKGNAME= ruby-${DISTNAME}
CATEGORIES= sysutils net
REVISION= 1
HOMEPAGE= http://reductivelabs.com/projects/puppet/
MASTER_SITES= http://reductivelabs.com/downloads/puppet/
MAINTAINER= Robert Nagy <robert@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= converters/ruby-json \
sysutils/ruby-facter \
${MODRUBY_ICONV_DEPENDS}
USE_GROFF = Yes
NO_REGRESS= Yes
NO_BUILD= Yes
do-install:
${INSTALL_DATA_DIR} ${MODRUBY_EXAMPLEDIR}/puppet
@cd ${WRKSRC} && ${ALL_FAKE_FLAGS} ${RUBY} install.rb
for f in `ls -1 ${WRKSRC}/examples/etc/puppet/*.conf`; do \
${INSTALL_DATA} $$f ${MODRUBY_EXAMPLEDIR}/puppet; \
done
.include <bsd.port.mk>