Ticket #49427: Portfile-ipe.diff
File Portfile-ipe.diff, 2.1 KB (added by m7.thon@…, 9 years ago) |
---|
-
Portfile
old new 5 5 PortGroup qt4 1.0 6 6 7 7 name ipe 8 version 7.1.8 9 revision 1 8 version 7.1.9 10 9 set branch [join [lrange [split ${version} .] 0 1] .] 11 10 categories graphics 12 11 maintainers gmail.com:m7.thon openmaintainer … … 24 23 distname ${name}-${version}-src 25 24 worksrcdir ${name}-${version}/src 26 25 27 checksums sha1 52894af0493fbc8a9115effb6f4c82dd5d2f0c23\28 rmd160 ace0e161ac0ff0cd8ed79c154f0adc195b74dd1f26 checksums sha1 ec213ad86393ab2e0de8581a50ce63a09b83186d \ 27 rmd160 03d4425b2b7cee4309d363ecc90bb3ddaab48542 29 28 30 29 depends_lib-append port:freetype \ 31 30 path:lib/pkgconfig/cairo.pc:cairo \ … … 34 33 port:libpng \ 35 34 port:zlib 36 35 36 patchfiles patch-ipecanvas-ipecanvas_qt.cpp.diff 37 37 38 use_configure no 38 39 39 40 variant universal {} … … 48 49 49 50 pre-build { 50 51 build.env CXXFLAGS="[get_canonical_archflags cxx]" \ 51 LDFLAGS="[get_canonical_archflags ld]" 52 LDFLAGS="[get_canonical_archflags ld]" \ 53 PKG_CONFIG_PATH=\$PKG_CONFIG_PATH:${qt_pkg_config_dir} 52 54 53 55 build.args IPEPREFIX=${prefix} \ 54 56 ZLIB_CFLAGS="`pkg-config --cflags zlib`" \ … … 60 62 FREETYPE_LIBS="`pkg-config --libs freetype2`" \ 61 63 CAIRO_CFLAGS="`pkg-config --cflags cairo`" \ 62 64 CAIRO_LIBS="`pkg-config --libs cairo`" \ 63 LUA_CFLAGS="`pkg-config --cflags lua` -DLUA_COMPAT_5_2" \65 LUA_CFLAGS="`pkg-config --cflags lua`" \ 64 66 LUA_LIBS="`pkg-config --libs lua`" \ 65 67 QT_CFLAGS="`pkg-config --cflags QtGui QtCore`" \ 66 68 QT_LIBS="`pkg-config --libs QtGui QtCore`" \