Ticket #13156: patch-Portfile.diff

File patch-Portfile.diff, 963 bytes (added by cssdev, 16 years ago)

Apply a patch on Leopard systems

  • Portfile

     
    33PortSystem 1.0
    44name                    doxygen
    55version                 1.5.4
     6revision                1
    67categories              textproc devel
    78maintainers             css@macports.org
    89description             Documentation system for several programming languages
     
    7879        }
    7980}
    8081
     82platform darwin 9 {
     83        # Account for an iconv difference on Leopard.
     84        patchfiles-append       patch-portable.cpp
     85        # Specify the platform explicitly to avoid a universal build.
     86        configure.args-append   --platform macosx-c++
     87        if {[variant_isset wizard]} {
     88                post-destroot {
     89                        set dpappdir    ${destroot}/Applications/MacPorts
     90                        xinstall -m 755 -d ${dpappdir}/doxywizard.app/Contents/MacOS
     91                        file rename ${destroot}${prefix}/bin/doxywizard \
     92                                ${dpappdir}/doxywizard.app/Contents/MacOS/
     93                        xinstall -m 644 ${filespath}/Info.plist \
     94                                ${dpappdir}/doxywizard.app/Contents/
     95                }
     96        }
     97}