# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 PortGroup wxWidgets 1.0 perl5.branches 5.8 5.10 5.12 5.14 5.16 perl5.setup Alien-wxWidgets 0.64 revision 2 platforms darwin maintainers nomaintainer license {Artistic-1 GPL} supported_archs noarch description Alien::wxWidgets - building, finding and using wxWidgets binaries. long_description ${description} checksums rmd160 1cd425f243033e379c84228acb10eca2e097befe \ sha256 bdaec7b54d9bbcf6e7e5ef52f7e23ad4295c54819d6f29e6ca3bf07f6fdb35bb # version 0.64 officially supports just wxWidgets versions up to 2.9.4 # but this only seems to be related to patching (when fetching files on the fly) wxWidgets.use wxWidgets-3.0 # this is needed to use Build.Pl instead of Makefile.PL - the proper way (per author) # (else --wxWidgets-build=0 doesn't work) perl5.use_module_build if {${perl5.major} != ""} { depends_lib-append port:${wxWidgets.port} # author says that Makefile.PL shouldn't be there # this line is not really needed, but it's a guard # to make sure that the right building procedure is used # (it can be removed) post-patch { delete ${worksrcpath}/Makefile.PL } # WX_CONFIG doesn't seem to work in all circumstances, # so until the bug is fixed, one needs to either change PATH or specify --wxWidgets-build=0 configure.args-append --wxWidgets-build=0 configure.env-append WX_CONFIG=${wxWidgets.wxconfig} build.env-append WX_CONFIG=${wxWidgets.wxconfig} # configure.env-append WX_CONFIG=${wxWidgets.wxconfig} PATH=${wxWidgets.wxdir}:$env(PATH) # build.env-append WX_CONFIG=${wxWidgets.wxconfig} PATH=${wxWidgets.wxdir}:$env(PATH) }