# -*- 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.24 perl5.setup Alien-wxWidgets 0.67 platforms darwin maintainers mojca openmaintainer license {Artistic-1 GPL} supported_archs noarch description Alien::wxWidgets - building, finding and using wxWidgets binaries. long_description ${description} checksums rmd160 0f328a552b61a8e51d03da3521c7a2956f0c3d6f \ sha256 d906dffefec41748676e16ff28a93ca36d60a8158a82e9d8bac6383a0142b51c # 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} != ""} { wxWidgets.use wxWidgets-3.0 depends_lib-append port:${wxWidgets.port} \ port:p${perl5.major}-module-pluggable # 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) }