[63826] trunk/dports/python
dh at macports.org
dh at macports.org
Mon Feb 15 22:14:12 PST 2010
Revision: 63826
http://trac.macports.org/changeset/63826
Author: dh at macports.org
Date: 2010-02-15 22:14:11 -0800 (Mon, 15 Feb 2010)
Log Message:
-----------
Added py26-cog port
Added Paths:
-----------
trunk/dports/python/py26-cog/
trunk/dports/python/py26-cog/Portfile
Added: trunk/dports/python/py26-cog/Portfile
===================================================================
--- trunk/dports/python/py26-cog/Portfile (rev 0)
+++ trunk/dports/python/py26-cog/Portfile 2010-02-16 06:14:11 UTC (rev 63826)
@@ -0,0 +1,33 @@
+# -*- 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: Portfile 54069 2009-07-20 00:45:40Z dh at macports.org $
+
+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?
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100215/e81d21a5/attachment-0001.html>
More information about the macports-changes
mailing list