# -*- 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 py26-cog version 2.2 maintainers dh openmaintainer description Cog is a code generation tool. It lets you use pieces of Python \ code as generators in your source files to generate whatever code \ you need. long_description ${description} platforms darwin homepage http://nedbatchelder.com/code/cog/ master_sites http://bitbucket.org/ned/cog/get/ distfiles cogapp-${version}.gz worksrcdir cog checksums md5 0204039c3acd9a7edfce1e64f695ebf9 \ sha1 91aa5e76ba012da801edb23ad312a7fabb7b9bbf \ rmd160 027b07303f2c78dc56569fb132e2190d2e9e648a post-destroot { # setup ends up creating a bin directory down in the Framework folder, move things from it ... file rename ${destroot}${python.prefix}/bin/cog.py ${destroot}${prefix}/bin/cog-2.6 file delete ${destroot}${python.prefix}/bin/test_cog.py # how can we test if there is anything left? }