[23116] trunk/dports/python/py-psyco/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Mar 25 10:54:43 PDT 2007


Revision: 23116
          http://trac.macosforge.org/projects/macports/changeset/23116
Author:   erickt at macports.org
Date:     2007-03-25 10:54:43 -0700 (Sun, 25 Mar 2007)

Log Message:
-----------
error out if trying to install psyco on non-intel machines

Modified Paths:
--------------
    trunk/dports/python/py-psyco/Portfile

Modified: trunk/dports/python/py-psyco/Portfile
===================================================================
--- trunk/dports/python/py-psyco/Portfile	2007-03-25 17:38:24 UTC (rev 23115)
+++ trunk/dports/python/py-psyco/Portfile	2007-03-25 17:54:43 UTC (rev 23116)
@@ -5,6 +5,7 @@
 
 name                    py-psyco
 version                 1.5.2
+revision                1
 categories              python
 platforms               darwin
 maintainers             erickt at macports.org
@@ -22,6 +23,12 @@
 
 extract.post_args       "| tar -xf - --exclude '.cvsignore'"
 
+pre-fetch {
+	if {![variant_isset darwin_i386]} {
+		return -code error "psyco can only install on intel machine"
+	}
+}
+
 post-destroot {
         xinstall -m 644 -W ${worksrcpath} README.txt \
                  ${destroot}${prefix}/share/doc/${name}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070325/9e1ee317/attachment.html


More information about the macports-changes mailing list