summaryrefslogtreecommitdiffstats
path: root/osx/macports/Portfile
blob: cf6f33ddc9b5a89edcee56af279f0b6c29a61a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- 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
# $Id$

PortSystem          1.0
PortGroup           python26 1.0

name                bcfg2
version             1.3.5
categories          sysutils python
maintainers         gmail.com:sol.jerome
license             BSD
supported_archs     noarch

description         Bcfg2 configuration management system
long_description    Bcfg2 helps system administrators deploy complex \
                    changes across large numbers of systems in a \
                    coherent and transparent fashion.

homepage            http://www.bcfg2.org/
platforms           darwin
master_sites        ftp://ftp.mcs.anl.gov/pub/bcfg

checksums           rmd160  db89ee0b8975bf50ad68bfac122e50253ded1906 \
                    sha256  138d792423475ae6516a95578a3df191504afaff31007877c7c2b36830d1a260

patchfiles          patch-setup.py.diff

post-destroot {
    ln -s ${python.prefix}/bin/bcfg2 ${destroot}${prefix}/bin/bcfg2

    set pyman ${python.prefix}/share/man/
    set manroot ${destroot}${prefix}/share/man/

    xinstall -d ${manroot}/man5
    xinstall -d ${manroot}/man1
    ln -s ${pyman}man5/bcfg2.conf.5 ${manroot}/man5/
    ln -s ${pyman}/man1/bcfg2.1 ${manroot}/man1/
}