Ticket #47025: poppler.diff
File poppler.diff, 2.8 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
graphics/poppler/Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 1 45844 2016-02-18 23:56:08Z devans@macports.org $2 # $Id: Portfile 133752 2015-03-10 20:34:42Z devans@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 PortGroup compiler_blacklist_versions 1.0 … … 40 40 port:openjpeg15 \ 41 41 port:poppler-data \ 42 42 port:tiff \ 43 port:zlib 43 port:zlib \ 44 port:curl 44 45 45 46 gobject_introspection yes 46 47 … … 65 66 } 66 67 67 68 # TODO: 68 # add subport poppler-qt4-x11 when qt4-x11 builds and port group qt4 allows 69 # add subport poppler-qt5-mac when various qt5 build issues are resolved (#47025) 69 # add subport for poppler-qt4-x11 when qt4-x11 builds and port group qt4 allows 70 70 71 71 subport poppler-qt4-mac { 72 72 PortGroup qt4 1.0 73 73 configure.env-append MOCQT4=${qt_bins_dir}/moc 74 74 configure.args-delete --disable-poppler-qt4 75 75 } 76 76 77 subport poppler-qt5-mac { 78 PortGroup qt5 1.0 79 80 configure.env-append MOCQT5=${qt_bins_dir}/moc 81 configure.args-delete --disable-poppler-qt5 82 } 83 77 84 if {${subport} ne ${name}} { 78 85 depends_extract-append port:git 79 86 … … 82 89 post-extract { 83 90 system -W ${workpath} "${prefix}/bin/git clone --depth=1 http://anongit.freedesktop.org/git/poppler/test" 84 91 } 85 92 86 93 configure.args-append --disable-cairo-output \ 87 94 --disable-poppler-glib \ 88 95 --disable-poppler-cpp \ 89 96 --disable-utils 90 97 91 98 # currently poppler only provides unit tests for the Qt wrappers 92 99 93 100 test.run yes 94 101 test.target check 95 102 … … 97 104 foreach dot_h [glob -nocomplain -directory ${destroot}${prefix}/include/poppler *.h] { 98 105 delete $dot_h 99 106 } 107 foreach l [glob -nocomplain ${destroot}${prefix}/lib/libpoppler.*] { 108 delete ${l} 109 } 100 110 delete ${destroot}${prefix}/include/poppler/fofi \ 101 111 ${destroot}${prefix}/include/poppler/goo \ 102 112 ${destroot}${prefix}/include/poppler/splash \ 103 ${destroot}${prefix}/lib/libpoppler.58.dylib \104 ${destroot}${prefix}/lib/libpoppler.a \105 ${destroot}${prefix}/lib/libpoppler.dylib \106 ${destroot}${prefix}/lib/libpoppler.la \107 113 ${destroot}${prefix}/lib/pkgconfig/poppler-splash.pc \ 108 114 ${destroot}${prefix}/lib/pkgconfig/poppler.pc 109 115 }