Ticket #16859: patch-Portfile.diff
File patch-Portfile.diff, 5.5 KB (added by myschizobuddy@…, 16 years ago) |
---|
-
Portfile
5 5 6 6 name qt4-mac 7 7 version 4.4.3 8 revision 1 8 9 categories aqua 9 10 platforms macosx 10 11 maintainers erickt clubjuggler@gmail.com openmaintainer … … 58 59 -optimized-qmake -debug-and-release -shared -stl \ 59 60 -no-openssl -largefile \ 60 61 -system-libpng -system-libjpeg -system-libmng -system-libtiff \ 61 -system-zlib -qt-gif 62 -system-zlib -qt-gif -iconv \ 62 63 -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql \ 63 64 -no-sql-sqlite -no-nis -no-cups \ 64 -framework -libdir '${frameworkdir}' \ 65 -no-webkit -no-assistant-webkit -no-svg \ 66 -no-phonon -no-phonon-backend -no-xmlpatterns \ 67 -framework -libdir '${frameworkdir}' \ 65 68 -make libs -make tools \ 66 69 -I${worksrcpath}/include \ 67 70 -L${worksrcpath}/lib -L${prefix}/lib … … 116 119 117 120 default_variants +docs +dbus 118 121 119 variant dbus description "Include DBus support"{122 variant dbus description {Include DBus support} { 120 123 depends_lib-append port:dbus 121 124 configure.args-append -dbus-linked 122 125 } 123 126 124 variant noframework description "Do not build frameworks"{127 variant noframework description {Do not build frameworks} { 125 128 configure.args-delete -framework -libdir '${frameworkdir}' 126 129 configure.args-append -no-framework 127 130 } 128 131 129 variant nis description "Include Network Information Service (NIS) support"{132 variant nis description {Include Network Information Service (NIS) support} { 130 133 configure.args-delete -no-nis 131 134 configure.args-append -nis 132 135 } 133 136 134 variant cups description "Include Common Unix Printing System (CUPS) support"{137 variant cups description {Include Common Unix Printing System (CUPS) support} { 135 138 configure.args-delete -no-cups 136 139 configure.args-append -cups 137 140 } 138 141 139 variant mysql4 conflicts mysql5 description "Include support for SQL via mysql4 driver"{142 variant mysql4 conflicts mysql5 description {Include support for SQL via mysql4 driver} { 140 143 depends_lib-append lib:libmysqlclient.12:mysql4 141 144 configure.args-delete -no-sql-mysql 142 145 configure.args-append -qt-sql-mysql -plugin-sql-mysql \ 143 146 -I${prefix}/include/mysql -L${prefix}/lib/mysql 144 147 } 145 148 146 variant mysql5 conflicts mysql4 description "Include support for SQL via mysql5 driver"{149 variant mysql5 conflicts mysql4 description {Include support for SQL via mysql5 driver} { 147 150 depends_lib-append lib:libmysqlclient.15:mysql5 148 151 configure.args-delete -no-sql-mysql 149 152 configure.args-append -qt-sql-mysql -plugin-sql-mysql \ 150 153 -I${prefix}/include/mysql5/mysql -L${prefix}/lib/mysql5/mysql 151 154 } 152 155 153 variant psql description "Include support for SQL via postgresql driver"{156 variant psql description {Include support for SQL via postgresql driver} { 154 157 depends_lib-append port:postgresql83 155 158 configure.args-delete -no-sql-psql 156 159 configure.args-append -qt-sql-psql -plugin-sql-psql \ 157 160 -I${prefix}/include/postgresql83 -L${prefix}/lib/postgresql83 158 161 } 159 162 160 variant sqlite description "Include support for SQL via sqlite driver"{163 variant sqlite description {Include support for SQL via sqlite driver} { 161 164 configure.args-delete -no-sql-sqlite 162 165 configure.args-append -qt-sql-sqlite -plugin-sql-sqlite 163 166 } 164 167 165 variant ssl description "Include OpenSSL support"{168 variant ssl description {Include OpenSSL support} { 166 169 depends_lib-append port:openssl 167 170 configure.args-delete -no-openssl 168 171 configure.args-append -openssl 169 172 } 170 173 171 variant examples description "Build Qt examples"{174 variant examples description {Build Qt examples} { 172 175 # configure.args-delete "-nomake examples" 173 176 configure.args-append -make examples -examplesdir ${prefix}/share/${portname}/examples 174 177 } 175 178 176 variant demos description "Build Qt demos"{179 variant demos description {Build Qt demos} { 177 180 # configure.args-delete "-nomake demos" 178 181 configure.args-append -make demos -demosdir ${prefix}/share/${portname}/demos 179 182 } 180 183 181 variant docs description "Include Qt Documentation"{184 variant docs description {Include Qt Documentation} { 182 185 configure.args-append -make docs 183 186 } 184 187 188 variant webkit description {Build webkit module and html rendering engine} { 189 configure.args-delete -no-webkit -no-assistant-webkit 190 configure.args-append -webkit -assistant-webkit 191 } 192 193 variant svg description {Build the SVG module} { 194 configure.args-delete -no-svg 195 configure.args-append -svg 196 } 197 198 variant phonon description {Build the Phonon module and platform phonon plugin} { 199 configure.args-delete -no-phonon -no-phonon-backend 200 configure.args-append -phonon -phonon-backend 201 } 202 203 variant xmlpatterns description {Build the QtXmlPatterns module} { 204 configure.args-delete -no-xmlpatterns 205 configure.args-append -xmlpatterns 206 } 185 207 186 208 livecheck.check regex 187 livecheck.url http://trolltech.com/d eveloper/downloads/qt/mac188 livecheck.regex " The current version of Qt/Mac Open Source Edition is (4(?:\\.\\d+)*)"209 livecheck.url http://trolltech.com/downloads/opensource/appdev/mac-os-cpp 210 livecheck.regex "qt-mac-opensource-src-(4(?:\\.\\d+)*).tar.gz"