summaryrefslogtreecommitdiffstats
path: root/osx/macports/Portfile
diff options
context:
space:
mode:
Diffstat (limited to 'osx/macports/Portfile')
-rw-r--r--osx/macports/Portfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/osx/macports/Portfile b/osx/macports/Portfile
new file mode 100644
index 000000000..1efba7694
--- /dev/null
+++ b/osx/macports/Portfile
@@ -0,0 +1,36 @@
+# -*- 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.0.0
+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 2303fc4cb7b5e49034dd1f71f5ad5847 \
+ sha1 592d94b5626200aa513f06b8ecc38a7ea021aa72 \
+ rmd160 974b9973e9a4297fcc9c94ee93cd16d4957a0418
+
+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/
+}