# -*- 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$ # This comment was inserted on 20160713 to force reindexing of # this port after the default homepage definition in the perl5 # PortGroup was changed to use metacpan.org (r150080). # Reindexing is necessary for the new definition to take effect. # This comment may be removed in subsequent updates of this port. PortSystem 1.0 PortGroup perl5 1.0 PortGroup wxWidgets 1.0 perl5.branches 5.24 perl5.setup Wx 0.9928 platforms darwin maintainers mojca openmaintainer license {Artistic-1 GPL} description Interface to the wxWidgets cross-platform GUI toolkit long_description ${description} checksums rmd160 629d22b5f920dee8725db8d02eb0b0687e085604 \ sha256 58e06c094c07817617b1e69fa0501f2cee80cd4700ac7a62c516179f7aa85b42 if {${perl5.major} != ""} { wxWidgets.use wxWidgets-3.0 depends_build-append \ port:p${perl5.major}-extutils-xspp depends_lib-append \ port:p${perl5.major}-alien-wxwidgets \ port:${wxWidgets.port} # temporary change the mode post-extract { fs-traverse dir ${worksrcpath} { if { [ file isdirectory ${dir} ] } { file attributes ${dir} -permissions 0755 } } } patchfiles patch-build-Wx-build-MakeMaker-MacOSX_GCC.pm.diff \ patch-cpp-wxPerl.osx-Makefile.diff post-patch { # try to find a better way to fix that problem reinplace -W ${worksrcpath} "s|@@CC@@|${configure.cc}|g" cpp/wxPerl.osx/Makefile } configure.args installdirs=vendor }