Ticket #22623: Portfile

File Portfile, 1.3 KB (added by solj@…, 15 years ago)

Fix port lint warning

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
5PortGroup           python26 1.0
6
7name                bcfg2
8version             1.0.0
9categories          sysutils python
10maintainers         ices.utexas.edu:solj
11description         Bcfg2 configuration management system
12long_description    Bcfg2 helps system administrators deploy complex \
13                    changes across large numbers of systems in a \
14                    coherent and transparent fashion.
15
16homepage            http://www.bcfg2.org/
17platforms           darwin
18master_sites        ftp://ftp.mcs.anl.gov/pub/bcfg
19distname            bcfg2-${version}
20
21checksums           md5     2303fc4cb7b5e49034dd1f71f5ad5847 \
22                    sha1    592d94b5626200aa513f06b8ecc38a7ea021aa72 \
23                    rmd160  974b9973e9a4297fcc9c94ee93cd16d4957a0418
24
25depends_lib         port:python26
26
27patchfiles          patch-setup.py.diff
28
29post-destroot {
30    ln -s ${python.prefix}/bin/bcfg2 ${destroot}${prefix}/bin/bcfg2
31
32    set pyman ${python.prefix}/share/man/
33    set manroot ${destroot}${prefix}/share/man/
34
35    xinstall -d ${manroot}/man5
36    xinstall -d ${manroot}/man1
37    ln -s ${pyman}man5/bcfg2.conf.5 ${manroot}/man5/
38    ln -s ${pyman}/man1/bcfg2.1 ${manroot}/man1/
39}