Ticket #30540: patch-port-ipe-7.1.1.diff
File patch-port-ipe-7.1.1.diff, 4.8 KB (added by maehne (Torsten Maehne), 13 years ago) |
---|
-
Portfile
diff -r -u ipe_orig/Portfile ipe/Portfile
old new 1 # $Id : Portfile 81638 2011-08-03 08:02:29Z ryandesign@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 PortGroup qt4 1.0 5 5 6 6 name ipe 7 version 7. 0.147 version 7.1.1 8 8 revision 1 9 9 categories graphics 10 10 maintainers jacobs-university.de:m.thon … … 21 21 distname ${name}-${version}-src 22 22 worksrcdir ${name}-${version}/src 23 23 24 checksums sha1 a9b744120019248a405caab63e88664258242151 \ 25 rmd160 4f819bd7740e875170e66c4fa4431aad6cb4c835 24 checksums md5 0b15be5a0c12274c36e2805c0da94e27 \ 25 sha1 a4e85a50c0488721d68eb10bf3f8c5b3c99d4689 \ 26 rmd160 0dc1cd8204084751f979b941acb3769b9ea52fa5 26 27 27 28 depends_lib-append port:freetype \ 28 29 path:lib/pkgconfig/cairo.pc:cairo \ 29 30 port:lua \ 30 31 port:zlib 31 32 32 patchfiles patch-common.mak.diff \ 33 patch-config.mak.diff \ 34 patch-ipe-lua-prefs.lua.diff 33 patchfiles patch-ipe-src-7.1.1.diff 34 35 35 use_configure no 36 36 37 37 build.env CXXFLAGS="${configure.cxx_archflags}" \ … … 39 39 40 40 build.args IPEPREFIX=${prefix} \ 41 41 MOC=${qt_moc_cmd} \ 42 CXX=${configure.cxx} 42 CXX=${configure.cxx} \ 43 FREETYPE_CFLAGS="[exec pkg-config --cflags freetype2]" \ 44 CAIRO_CFLAGS="[exec pkg-config --cflags cairo]" \ 45 CAIRO_LIBS="[exec pkg-config --libs cairo]" \ 46 LUA_CFLAGS="[exec pkg-config --cflags lua]" \ 47 LUA_LIBS="[exec pkg-config --libs lua]" \ 48 QT_CFLAGS="[exec pkg-config --cflags QtGui QtCore]" \ 49 QT_LIBS="[exec pkg-config --libs QtGui QtCore]" 43 50 44 51 destroot.args-append IPEPREFIX=${prefix} 45 52 use_parallel_build no -
files/Info.plist.in
diff -r -u ipe_orig/files/Info.plist.in ipe/files/Info.plist.in
old new 2 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 3 3 <plist version="1.0"> 4 4 <dict> 5 <key>CFBundleDocumentTypes</key> 6 <array> 7 <dict> 8 <key>CFBundleTypeName</key> 9 <string>Ipe figure</string> 10 <key>CFBundleTypeIconFile</key> 11 <string>ipe.icns</string> 12 <key>LSHandlerRank</key> 13 <string>Owner</string> 14 <key>CFBundleTypeRole</key> 15 <string>Editor</string> 16 <key>CFBundleTypeExtensions</key> 17 <array> 18 <string>ipe</string> 19 <string>IPE</string> 20 </array> 21 </dict> 22 <dict> 23 <key>CFBundleTypeName</key> 24 <string>Postscript document</string> 25 <key>CFBundleTypeIconFile</key> 26 <string>ipe.icns</string> 27 <key>LSHandlerRank</key> 28 <string>Alternate</string> 29 <key>CFBundleTypeRole</key> 30 <string>Editor</string> 31 <key>CFBundleTypeExtensions</key> 32 <array> 33 <string>eps</string> 34 <string>EPS</string> 35 </array> 36 </dict> 37 <dict> 38 <key>CFBundleTypeName</key> 39 <string>PDF document</string> 40 <key>CFBundleTypeIconFile</key> 41 <string>ipe.icns</string> 42 <key>LSHandlerRank</key> 43 <string>Alternate</string> 44 <key>CFBundleTypeRole</key> 45 <string>Editor</string> 46 <key>CFBundleTypeExtensions</key> 47 <array> 48 <string>pdf</string> 49 <string>PDF</string> 50 </array> 51 <key>CFBundleTypeMIMETypes</key> 52 <array> 53 <string>application/pdf</string> 54 </array> 55 </dict> 56 </array> 5 57 <key>CFBundleDevelopmentRegion</key> 6 58 <string>English</string> 7 59 <key>CFBundleExecutable</key> … … 19 71 <key>CFBundleShortVersionString</key> 20 72 <string>@VERSION@</string> 21 73 <key>CFBundleSignature</key> 22 <string> ????</string>74 <string>Ipe7</string> 23 75 <key>CFBundleVersion</key> 24 76 <string>@VERSION@</string> 77 <key>NSHumanReadableCopyright</key> 78 <string>Copyright (C) 1993-2011 Otfried Cheong</string> 25 79 </dict> 26 80 </plist> -
files/ipe.in
diff -r -u ipe_orig/files/ipe.in ipe/files/ipe.in
old new 1 1 #!/bin/sh 2 3 PATH="@PREFIX@/bin:$PATH" "@PREFIX@/bin/ipe" 2 PATH="@PREFIX@/bin:${PATH}" 3 if [[ -d /usr/texbin ]]; then 4 PATH="/usr/texbin:${PATH}" 5 fi 6 "@PREFIX@/bin/ipe"