Ticket #17392: Portfile.diff
File Portfile.diff, 5.5 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 100 100 --without-ipsepcola \ 101 101 --without-rsvg \ 102 102 --with-pangocairo \ 103 --without-glitz \ 103 104 --with-freetype2 \ 104 105 --with-fontconfig \ 105 106 --without-gdk-pixbuf \ … … 128 129 --disable-ruby \ 129 130 --disable-tcl 130 131 132 platform macosx { 133 if {${os.major} > 8} { 134 configure.args-delete --without-quartz 135 configure.args-append --with-quartz 136 } 137 } 138 131 139 variant guile description {Include Guile language bindings} { 132 140 depends_lib-append \ 133 141 port:guile … … 150 158 --disable-lua 151 159 configure.args-append \ 152 160 --enable-lua 161 post-patch { 162 reinplace "s|/usr/lib\$LIBPOSTFIX/lua|${prefix}/lib\$LIBPOSTFIX/lua|g" ${worksrcpath}/configure 163 } 153 164 } 154 165 155 166 variant ocaml description {Include Objective Caml language bindings} { … … 162 173 --disable-ocaml 163 174 configure.args-append \ 164 175 --enable-ocaml 176 configure.cppflags-append \ 177 -I${prefix}/lib/ocaml 165 178 } 166 179 167 180 variant perl description {Include PERL 5 language bindings} { 168 181 depends_lib-append \ 169 path:bin/perl:perl5 .8182 path:bin/perl:perl5 170 183 depends_build-append \ 171 184 port:swig 172 185 configure.args-delete \ … … 174 187 --disable-perl 175 188 configure.args-append \ 176 189 --enable-perl 190 configure.perl ${prefix}/bin/perl 177 191 } 178 192 179 variant php description {Include PHP 4language bindings} {193 variant php description {Include PHP language bindings} { 180 194 depends_lib-append \ 181 port:php 4195 port:php5 182 196 depends_build-append \ 183 197 port:swig 184 198 configure.args-delete \ … … 186 200 --disable-php 187 201 configure.args-append \ 188 202 --enable-php 203 post-patch { 204 reinplace "s|/usr/include/php|${prefix}/include/php|g" ${worksrcpath}/configure 205 reinplace "s|/usr/lib\${LIBPOSTFIX}/php|${prefix}/lib\${LIBPOSTFIX}/php|g" ${worksrcpath}/configure 206 reinplace "s|/usr/share/php|${prefix}/share/php|g" ${worksrcpath}/configure 207 } 189 208 } 190 209 191 variant python description {Include Python 2.4 language bindings}{210 variant python24 description {Include Python 2.4 language bindings} conflicts python25 python26 { 192 211 depends_lib-append \ 193 212 port:python24 194 213 depends_build-append \ … … 198 217 --disable-python 199 218 configure.args-append \ 200 219 --enable-python 220 configure.python ${prefix}/bin/python2.4 221 # The configure script asks python where to install 222 # This doesn't work for 2.4 and 2.5 (see #16334) 223 post-patch { 224 reinplace "s|PYTHON_INSTALL_DIR=.*|PYTHON_INSTALL_DIR=${prefix}/lib/python2.4|" ${worksrcpath}/configure 225 } 226 } 227 228 variant python25 description {Include Python 2.5 language bindings} conflicts python24 python26 { 229 depends_lib-append \ 230 port:python25 231 depends_build-append \ 232 port:swig 233 configure.args-delete \ 234 --disable-swig \ 235 --disable-python 236 configure.args-append \ 237 --enable-python 238 configure.python ${prefix}/bin/python2.5 239 # The configure script asks python where to install 240 # This doesn't work for 2.4 and 2.5 (see #16334) 241 post-patch { 242 reinplace "s|PYTHON_INSTALL_DIR=.*|PYTHON_INSTALL_DIR=${prefix}/lib/python2.5|" ${worksrcpath}/configure 243 } 244 } 245 246 variant python26 description {Include Python 2.6 language bindings} conflicts python24 python25 { 247 depends_lib-append \ 248 port:python26 249 depends_build-append \ 250 port:swig 251 configure.args-delete \ 252 --disable-swig \ 253 --disable-python 254 configure.args-append \ 255 --enable-python 256 configure.python ${prefix}/bin/python2.6 201 257 } 202 258 203 259 variant ruby description {Include Ruby language bindings} { … … 224 280 --enable-tcl 225 281 } 226 282 283 variant java description {Include Java language bindings} { 284 depends_build-append \ 285 port:swig 286 configure.args-delete \ 287 --disable-swig \ 288 --disable-java 289 configure.args-append \ 290 --enable-java 291 } 292 227 293 variant smyrna description {Include the Smyrna large graph viewer} { 228 294 configure.args-delete \ 229 295 --without-smyrna \ … … 238 304 depends_lib-append \ 239 305 port:gtk2 \ 240 306 port:gtkglext \ 241 port:libglade2 307 port:libglade2 \ 308 port:gts 309 } 310 311 variant r description {Include R language bindings} { 312 depends_build-append \ 313 port:swig 314 configure.args-delete \ 315 --disable-swig \ 316 --disable-r 317 configure.args-append \ 318 --enable-r 319 } 320 321 variant rsvg description {enable the rsvg plugin} { 322 depends_lib-append \ 323 port:librsvg 324 configure.args-delete \ 325 --without-rsvg 326 configure.args-append \ 327 --with-rsvg 328 } 329 330 variant gdk_pixbuf description {enable the gdk_pixbuf plugin} { 331 depends_lib-append \ 332 port:gtk2 333 configure.args-delete \ 334 --without-gdk-pixbuf 335 configure.args-append \ 336 --with-gdk-pixbuf 337 } 338 339 variant glitz description {enable the incomplete glitz plugin} { 340 depends_lib-append \ 341 port:glitz 342 configure.args-delete \ 343 --without-glitz 344 configure.args-append \ 345 --with-glitz 346 } 347 348 variant ming description {enable the incomplete ming plugin} { 349 depends_lib-append \ 350 port:ming 351 configure.args-delete \ 352 --without-ming 353 configure.args-append \ 354 --with-ming 242 355 } 243 356 244 357 variant no_pangocairo description {Remove pangocairo support (no antialiased bitmapped output; no PDF output)} {