From 852bd28ff3bcf0f7d37e58b0096ea609cd2b6aed Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Tue, 1 Dec 2009 16:28:20 +0000 Subject: OSX: Add Portfile for macports packaging This adds the macports packaging from: http://trac.macports.org/changeset/61067 Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5602 ce84e21b-d406-0410-9b95-82705330c041 --- osx/macports/Portfile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 osx/macports/Portfile (limited to 'osx/macports/Portfile') 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/ +} -- cgit v1.2.3-1-g7c22