[59611] trunk/dports/python/py26-bpython/Portfile

jameskyle at macports.org jameskyle at macports.org
Sat Oct 17 15:56:06 PDT 2009


Revision: 59611
          http://trac.macports.org/changeset/59611
Author:   jameskyle at macports.org
Date:     2009-10-17 15:56:04 -0700 (Sat, 17 Oct 2009)
Log Message:
-----------
Updated to most recent version.
Update project home site and master_sites.
Install examples in ${prefix}/share/bpython26
Install manpages into default macports man path.

Modified Paths:
--------------
    trunk/dports/python/py26-bpython/Portfile

Modified: trunk/dports/python/py26-bpython/Portfile
===================================================================
--- trunk/dports/python/py26-bpython/Portfile	2009-10-17 22:56:02 UTC (rev 59610)
+++ trunk/dports/python/py26-bpython/Portfile	2009-10-17 22:56:04 UTC (rev 59611)
@@ -5,27 +5,38 @@
 PortGroup               python26 1.0
 
 name                    py26-bpython
-version                 0.7.1
+version                 0.9.5.1
 platforms               darwin
+categories              python 
 maintainers             jameskyle
 description             fancy interface to the Python interpreter
 long_description        a fancy interface to the Python interpreter for \
                         Unix-like operating systems
 
-homepage                http://www.noiseforfree.com/bpython/
-master_sites            ${homepage}
+homepage                http://www.bpython-interpreter.org/
+master_sites            ${homepage}/releases/
 distname                bpython-${version}
-worksrcdir              bpython
 
-checksums               md5 65554d3ebb9f9b5cab62e446424b8ab7 \
-                        sha1 c43693f80b8bd7cfa81ec25568b411e29960aa36 \
-                        rmd160 40af44675fc06394b83d656370fae1362dd87c32 
+checksums               md5     8c1e0da30c76b670e5d65fc2a17daa00 \
+                        sha1    14453ae591a289bca6b5a26ed79fa58df1928fe6 \
+                        rmd160  6f3d8e475ebe744803fa4e437c227b249618c597 
 
 depends_lib-append      port:py26-parsing \
                         port:py26-pygments 
 
 post-destroot {
     ln -s ${python.prefix}/bin/bpython ${destroot}${prefix}/bin/bpython
-    xinstall -d ${destroot}${python.prefix}/share/bpython2.6
-    xinstall ${worksrcpath}/sample-rc ${destroot}${python.prefix}/share/bpython2.6/
+    set sharedoc ${destroot}${prefix}/share/bpython2.6
+    xinstall -d ${sharedoc}
+    xinstall ${worksrcpath}/sample-config ${sharedoc}
+    xinstall ${worksrcpath}/sample.theme ${sharedoc}
+    xinstall ${worksrcpath}/light.theme ${sharedoc}
+    
+    set pyman ${python.prefix}/share/man/
+    set manroot ${destroot}${prefix}/man/
+    
+    xinstall -d ${manroot}/man5
+    xinstall -d ${manroot}/man1
+    ln -s ${pyman}man5/bpython-config.5 ${manroot}/man5/
+    ln -s ${pyman}/man1/bpython.1 ${manroot}/man1/
 }                        
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091017/f9c1c54c/attachment-0001.html>


More information about the macports-changes mailing list