diff --git a/trunk/dports/graphics/poppler/Portfile b/trunk/dports/graphics/poppler/Portfile
a
|
b
|
|
66 | 66 | |
67 | 67 | # TODO: |
68 | 68 | # add subport for poppler-qt4-x11 when qt4-x11 builds and port group qt4 allows |
69 | | # add subport(s) for poppler-qt5-* when a qt5 port is available |
70 | 69 | |
71 | 70 | subport poppler-qt4-mac { |
72 | 71 | PortGroup qt4 1.0 |
73 | 72 | |
74 | | depends_lib-append port:poppler |
75 | | configure.args-delete --disable-poppler-qt4 |
76 | | configure.args-append --disable-cairo-output \ |
77 | | --disable-poppler-glib \ |
78 | | --disable-poppler-cpp \ |
79 | | --disable-utils |
| 73 | depends_lib-append port:poppler |
| 74 | configure.env-append MOCQT4=${qt_bins_dir}/moc |
| 75 | configure.args-delete --disable-poppler-qt4 |
| 76 | configure.args-append --disable-cairo-output \ |
| 77 | --disable-poppler-glib \ |
| 78 | --disable-poppler-cpp \ |
| 79 | --disable-utils |
80 | 80 | post-destroot { |
81 | 81 | foreach dot_h [glob -nocomplain -directory ${destroot}${prefix}/include/poppler *.h] { |
82 | 82 | delete $dot_h |
… |
… |
|
93 | 93 | } |
94 | 94 | } |
95 | 95 | |
| 96 | subport poppler-qt5-mac { |
| 97 | PortGroup qt5 1.0 |
| 98 | |
| 99 | depends_lib-append port:poppler |
| 100 | configure.env-append MOCQT5=${qt_bins_dir}/moc |
| 101 | configure.args-delete --disable-poppler-qt5 |
| 102 | configure.args-append --disable-cairo-output \ |
| 103 | --disable-poppler-glib \ |
| 104 | --disable-poppler-cpp \ |
| 105 | --disable-utils |
| 106 | post-destroot { |
| 107 | foreach dot_h [glob -nocomplain -directory ${destroot}${prefix}/include/poppler *.h] { |
| 108 | delete $dot_h |
| 109 | } |
| 110 | delete ${destroot}${prefix}/include/poppler/fofi \ |
| 111 | ${destroot}${prefix}/include/poppler/goo \ |
| 112 | ${destroot}${prefix}/include/poppler/splash \ |
| 113 | ${destroot}${prefix}/lib/libpoppler.50.dylib \ |
| 114 | ${destroot}${prefix}/lib/libpoppler.a \ |
| 115 | ${destroot}${prefix}/lib/libpoppler.dylib \ |
| 116 | ${destroot}${prefix}/lib/libpoppler.la \ |
| 117 | ${destroot}${prefix}/lib/pkgconfig/poppler-splash.pc \ |
| 118 | ${destroot}${prefix}/lib/pkgconfig/poppler.pc |
| 119 | } |
| 120 | } |
| 121 | |
96 | 122 | livecheck.type regex |
97 | 123 | livecheck.url http://poppler.freedesktop.org/releases.html |
98 | 124 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |