# $Id$ PortSystem 1.0 name reinteract version 0.4.1 categories devel platforms darwin maintainers afb 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/ master_sites ${homepage}/download/sources/ use_bzip2 yes checksums md5 62768668fc741d9515312bf9cbde145d \ sha1 a5ca1569e8c2b8bdc03939ad8fa6b0ad5a06e789 \ rmd160 a72f2b394540676f2ab489d95ff6829f52caa9cd depends_lib port:python25 port:py25-gtk 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} { pre-configure { reinplace s/platform_osx=true/platform_osx=false/ ${worksrcpath}/configure } 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" } }