Ticket #43618: Portfile-ipe.diff
File Portfile-ipe.diff, 2.8 KB (added by m.thon@…, 11 years ago) |
---|
-
Portfile
old new 5 5 PortGroup qt4 1.0 6 6 7 7 name ipe 8 version 7.1. 48 version 7.1.5 9 9 set branch [join [lrange [split ${version} .] 0 1] .] 10 10 categories graphics 11 maintainers jacobs-university.de:m.thon openmaintainer11 maintainers gmail.com:m7.thon openmaintainer 12 12 description The Ipe extensible drawing editor 13 13 long_description \ 14 14 Ipe is a drawing editor for creating figures in PDF or \ … … 23 23 distname ${name}-${version}-src 24 24 worksrcdir ${name}-${version}/src 25 25 26 checksums sha1 48a5aebd6e54a3832e4841b12ed5dd8bb6ec8ec6 \ 27 rmd160 ab90157ae53a72b1a04bddb5f62aa645bdc9b20b 28 26 checksums sha1 a30257e3026f936d550cf950f6dfcc980cf42bf4 \ 27 rmd160 7a7d7fccc2120a1ff44f725a80a514dd92eea89d 29 28 30 29 depends_lib-append port:freetype \ 31 30 path:lib/pkgconfig/cairo.pc:cairo \ 32 31 path:lib/pkgconfig/lua.pc:lua \ 33 32 port:lua \ 33 path:lib/libjpeg.dylib:jpeg \ 34 34 port:zlib 35 35 36 patchfiles ipe-cstdlib.patch 36 patchfiles patch-ipelib-ipebitmap.cpp.diff \ 37 patch-ipelets-qvoronoi-qvoronoi.cpp.diff 37 38 38 39 use_configure no 39 40 40 41 variant universal {} 41 42 43 variant qvoronoi description {Add qvoronoi ipelet} { 44 depends_lib-append port:qhull 45 build.post_args subdirs="ipelib ipelets/lua ipelets/image ipelets/qvoronoi ipetoipe ipe6upgrade \ 46 ipeextract ipescript ipecairo iperender ipecanvas ipeview ipelua ipeui ipe" \ 47 QHULL_CFLAGS=-I${prefix}/include/qhull 48 destroot.post_args subdirs="ipelib ipelets/lua ipelets/image ipelets/qvoronoi ipetoipe ipe6upgrade \ 49 ipeextract ipescript ipecairo iperender ipecanvas ipeview ipelua ipeui ipe" 50 } 51 52 default_variants +qvoronoi 53 42 54 pre-build { 43 55 set lua_pc [lindex [split [glob ${prefix}/lib/pkgconfig/lua*] "/"] end] 44 56 set lua_version [join [lrange [split ${lua_pc} "."] 0 end-1] "."] … … 48 60 build.args IPEPREFIX=${prefix} \ 49 61 ZLIB_CFLAGS="`pkg-config --cflags zlib`" \ 50 62 ZLIB_LIBS="`pkg-config --libs zlib`" \ 63 JPEG_LIBS="-ljpeg" \ 51 64 FREETYPE_CFLAGS="`pkg-config --cflags freetype2`" \ 52 65 FREETYPE_LIBS="`pkg-config --libs freetype2`" \ 53 66 CAIRO_CFLAGS="`pkg-config --cflags cairo`" \