source: trunk/dports/sysutils/puppet/Portfile

Last change on this file was 137225, checked in by ryandesign@…, 2 years ago

facter, puppet: ports abandoned (#47590)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 137225 2015-06-07 03:54:34Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                puppet
7conflicts           cln
8version             2.7.6
9revision            1
10categories          sysutils
11license             Apache-2 GPL-2+
12platforms           darwin
13maintainers         nomaintainer
14supported_archs     noarch
15
16description         Puppet is a configuration management solution.
17
18long_description    Puppet is a configuration management solution. \
19                    The Puppet framework provides a means to describe IT \
20                    infrastructure as policy, execute that policy to build \
21                    services then audit and enforce ongoing changes to the \
22                    policy.
23
24homepage            http://projects.puppetlabs.com/projects/puppet
25master_sites        http://puppetlabs.com/downloads/puppet/
26
27checksums           md5     6dfbeb7810524c97747f45aa194b506f \
28                    sha1    c9822c9e239557de1a7c7a97f1f72a9616f244fe \
29                    rmd160  fcccf9b793aa3bf47ca677e72f4b10687766612d
30
31depends_lib         port:ruby \
32                    port:facter
33
34use_configure       no
35build               {}
36test.run            no
37destroot.cmd        ${prefix}/bin/ruby1.8 ${worksrcpath}/install.rb \
38                    --destdir=${destroot} \
39                    --configdir=${prefix}/etc/puppet
40
41set puppetuser      puppet
42set puppetgroup     puppet
43
44pre-destroot        {
45                        addgroup ${puppetgroup}
46                        set gid [existsgroup ${puppetgroup}]
47                        adduser ${puppetuser} gid=${gid} realname=Puppet\ User
48                    }
49
50post-destroot       {
51                        set etcexamplesdestdir ${destroot}${prefix}/share/examples/${name}/etc/puppet
52                        xinstall -m 755 -d ${etcexamplesdestdir}
53                        eval xinstall -m 644 [glob ${worksrcpath}/examples/etc/puppet/*] \
54                            ${etcexamplesdestdir}
55                    }
Note: See TracBrowser for help on using the repository browser.