Ticket #24456: inkscape_Portfile.diff

File inkscape_Portfile.diff, 1.7 KB (added by jjstickel@…, 14 years ago)
  • graphics/inkscape/Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 65641 2010-03-29 18:16:52Z raimue@macports.org $
     2# $Id: $
    33
    44PortSystem 1.0
    55
     
    3838                port:lcms \
    3939                port:dbus \
    4040                port:dbus-glib \
    41                 port:py25-xml \
     41                port:py26-xml \
    4242                port:libcroco \
    4343                port:poppler \
    44                 port:py25-numpy \
    45                 port:py25-lxml \
     44                port:py26-numpy \
     45                port:py26-lxml \
    4646                port:boost \
    4747                port:ImageMagick \
    4848                port:libwpg
     
    6060        --enable-inkboard
    6161
    6262configure.python \
    63         ${prefix}/bin/python2.5
     63        ${prefix}/bin/python2.6
    6464
    6565configure.cppflags-append \
    6666        -I${worksrcpath}/src/extension/script
     
    8383}
    8484
    8585post-patch {
    86         reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.5\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
     86        reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.6\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
    8787        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
    8888        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
    8989}