Ticket #19041: Portfile.2

File Portfile.2, 1.6 KB (added by nigel@…, 16 years ago)

Puppet Portfile

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$
3
4PortSystem          1.0
5
6name                puppet
7version             0.24.8
8categories          sysutils
9maintainers         explanatorygap.net:nigel
10
11description         Puppet is a configuration management solution.
12
13long_description    Puppet is a configuration management solution. \
14                    The Puppet framework provides a means to describe IT \
15                    infrastructure as policy, execute that policy to build \
16                    services then audit and enforce ongoing changes to the \
17                    policy.
18
19homepage            http://reductivelabs.com/products/puppet/
20platforms           darwin
21
22master_sites        http://reductivelabs.com/downloads/puppet/
23
24distfiles           ${name}-${version}.tgz
25
26checksums           md5 288d46dee00acad64d0f3ecc6d8ba6fa \
27                    sha1 a871aef6f3e8e060f5109bb022967066e32875be \
28                    rmd160 edb187da9225c9faee9839a5d644b5c9c91f3d5f
29
30depends_lib         port:ruby \
31                    port:facter
32
33use_configure       no
34build               {}
35test.run            no
36destroot.cmd        ${prefix}/bin/ruby ${worksrcpath}/install.rb \
37                    --destdir=${destroot}
38
39set puppetuser      puppet
40set puppetgroup     puppet
41
42pre-destroot        {
43                        addgroup ${puppetgroup}
44                        set gid [existsgroup ${puppetgroup}]
45                        adduser ${puppetuser} gid=${gid} realname=Puppet\ User
46                    }