[40531] trunk/dports/devel
afb at macports.org
afb at macports.org
Sun Oct 5 14:59:33 PDT 2008
Revision: 40531
http://trac.macports.org/changeset/40531
Author: afb at macports.org
Date: 2008-10-05 14:59:33 -0700 (Sun, 05 Oct 2008)
Log Message:
-----------
new port: reinteract (devel)
Added Paths:
-----------
trunk/dports/devel/reinteract-devel/
trunk/dports/devel/reinteract-devel/Portfile
Added: trunk/dports/devel/reinteract-devel/Portfile
===================================================================
--- trunk/dports/devel/reinteract-devel/Portfile (rev 0)
+++ trunk/dports/devel/reinteract-devel/Portfile 2008-10-05 21:59:33 UTC (rev 40531)
@@ -0,0 +1,60 @@
+# $Id$
+
+PortSystem 1.0
+
+name reinteract-devel
+version 0.4.1
+categories devel
+platforms darwin
+maintainers afb at macports.org openmaintainer
+description a system for interactive experimentation with python
+long_description Reinteract is a system for interactive experimentation \
+ with python. You enter Python code and expressions and \
+ immediately see the results.
+
+homepage http://www.reinteract.org/
+fetch.type git
+git.url git://git.fishsoup.net/reinteract
+worksrcdir reinteract
+
+depends_lib port:python25 port:py25-gtk
+
+depends_lib-append port:autoconf
+configure.cmd ./autogen.sh
+
+variant quartz conflicts x11 description {Enable Quartz rendering} {
+ build.target build-local-app
+
+ post-destroot {
+ file delete "${destroot}${prefix}/share/applications/reinteract.desktop"
+ file delete "${destroot}${prefix}/share/icons/hicolor/scalable/apps/reinteract.svg"
+ xinstall -d ${destroot}/Applications/MacPorts
+ file copy ${worksrcpath}/Reinteract.app ${destroot}/Applications/MacPorts
+ }
+}
+
+variant x11 conflicts quartz description {Enable rendering in X11 (default)} {
+ pre-configure {
+ reinplace s/platform_osx=true/platform_osx=false/ ${worksrcpath}/configure.ac
+ }
+ post-destroot {
+ xinstall ${worksrcpath}/bin/reinteract ${destroot}${prefix}/bin/
+ }
+}
+
+# junk below copied from gtk2
+
+if {[variant_isset no_x11]} {
+ default_variants +quartz
+}
+
+if {![variant_isset quartz]} {
+ default_variants +x11
+}
+
+pre-fetch {
+ if {![variant_isset quartz] && ![variant_isset x11]} {
+ error "Either +x11 or +quartz is required"
+ }
+}
+
Property changes on: trunk/dports/devel/reinteract-devel/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081005/b0dc8680/attachment.html
More information about the macports-changes
mailing list