source: trunk/dports/perl/p5-alien-wxwidgets/Portfile @ 110265

Last change on this file since 110265 was 110265, checked in by mojca@…, 6 years ago

p5-alien-wxwidgets: now using wxWidgets-3.0, but there seem to be a number of problems left (#38375)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 110265 2013-08-29 10:45:55Z mojca@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6PortGroup           wxWidgets 1.0
7
8perl5.branches      5.8 5.10 5.12 5.14 5.16
9perl5.setup         Alien-wxWidgets 0.64
10revision            2
11
12platforms           darwin
13maintainers         nomaintainer
14license             {Artistic-1 GPL}
15
16supported_archs     noarch
17
18description         Alien::wxWidgets - building, finding and using wxWidgets binaries.
19
20long_description    ${description}
21
22checksums           rmd160 1cd425f243033e379c84228acb10eca2e097befe \
23                    sha256 bdaec7b54d9bbcf6e7e5ef52f7e23ad4295c54819d6f29e6ca3bf07f6fdb35bb
24
25# version 0.64 officially supports just wxWidgets versions up to 2.9.4
26# but this only seems to be related to patching (when fetching files on the fly)
27wxWidgets.use       wxWidgets-3.0
28# this is needed to use Build.Pl instead of Makefile.PL - the proper way (per author)
29# (else --wxWidgets-build=0 doesn't work)
30perl5.use_module_build
31
32if {${perl5.major} != ""} {
33    depends_lib-append  port:${wxWidgets.port}
34
35    # author says that Makefile.PL shouldn't be there
36    # this line is not really needed, but it's a guard
37    # to make sure that the right building procedure is used
38    # (it can be removed)
39    post-patch {
40        delete ${worksrcpath}/Makefile.PL
41    }
42
43    # WX_CONFIG doesn't seem to work in all circumstances,
44    # so until the bug is fixed, one needs to either change PATH or specify --wxWidgets-build=0
45    configure.args-append   --wxWidgets-build=0
46    configure.env-append    WX_CONFIG=${wxWidgets.wxconfig}
47    build.env-append        WX_CONFIG=${wxWidgets.wxconfig}
48    # configure.env-append  WX_CONFIG=${wxWidgets.wxconfig} PATH=${wxWidgets.wxdir}:$env(PATH)
49    # build.env-append      WX_CONFIG=${wxWidgets.wxconfig} PATH=${wxWidgets.wxdir}:$env(PATH)
50}
Note: See TracBrowser for help on using the repository browser.