42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.47 2012/10/28 18:48:45 robert Exp $
|
|
|
|
COMMENT= centralised configuration management for networks
|
|
|
|
VERSION= 3.0.1
|
|
DISTNAME= puppet-${VERSION}
|
|
PKGNAME= ruby-${DISTNAME}
|
|
CATEGORIES= sysutils net
|
|
|
|
HOMEPAGE= http://reductivelabs.com/projects/puppet/
|
|
MASTER_SITES= http://reductivelabs.com/downloads/puppet/
|
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
|
|
|
# Apache
|
|
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,${MODRUBY_FLAVOR} \
|
|
sysutils/ruby-facter \
|
|
${MODRUBY_ICONV_DEPENDS}
|
|
|
|
USE_GROFF = Yes
|
|
NO_REGRESS= Yes
|
|
NO_BUILD= Yes
|
|
|
|
do-install:
|
|
${SUBST_CMD} ${WRKSRC}/lib/puppet/defaults.rb
|
|
${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
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp/
|
|
${INSTALL_DATA} ${WRKSRC}/ext/emacs/* ${PREFIX}/share/emacs/site-lisp/
|
|
|
|
.include <bsd.port.mk>
|