Skip to content
Browse files

new port: reinteract (devel)

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Anders F. Björklund
Anders F. Björklund committed Oct 5, 2008
1 parent da352bd commit 11aac1d4fa9bb6c52cb9290229248617c2b9d2d9
Showing with 60 additions and 0 deletions.
  1. +60 −0 devel/reinteract-devel/Portfile
@@ -0,0 +1,60 @@
# $Id$

PortSystem 1.0

name reinteract-devel
version 0.4.1
categories devel
platforms darwin
maintainers 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.

fetch.type git
git.url git://
worksrcdir reinteract

depends_lib port:python25 port:py25-gtk

depends_lib-append port:autoconf
configure.cmd ./

variant quartz conflicts x11 description {Enable Quartz rendering} { 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}/ ${destroot}/Applications/MacPorts

variant x11 conflicts quartz description {Enable rendering in X11 (default)} {
pre-configure {
reinplace s/platform_osx=true/platform_osx=false/ ${worksrcpath}/
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"

0 comments on commit 11aac1d

Please sign in to comment.
You can’t perform that action at this time.