summaryrefslogtreecommitdiffstats
path: root/osx/macports/Portfile
blob: 91e8e0384a15e76220b29d90b2be714819959e40 (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
# -*- 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
license             BSD
version             1.0.1
categories          sysutils python
maintainers         ices.utexas.edu:solj
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           md5     6fbf36acc5cc58b2504a25c25cad3921 \
                    sha1    36cac49009c906d4cb61e36a7a8c7b6859518862 \
                    rmd160  fae98b10b721d059a9a483e046b83bd61458179d

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/
}