Ticket #11760: Portfile

File Portfile, 1.0 KB (added by afb@…, 17 years ago)

dports/x11/wxgtk26/Portfile

Line 
1# $Id: Portfile $
2
3PortSystem              1.0
4name                    wxgtk26
5version                 2.6.4
6categories              x11
7maintainers             nomaintainer@macports.org
8description             The wxWidgets GUI toolkit with GTK+ bindings
9long_description        \
10        A C++ package for platform independent software development
11
12homepage                http://wxwidgets.org/
13platforms               darwin
14master_sites    sourceforge:wxwindows
15distname                wxGTK-${version}
16checksums               md5 ce0fd2b425bc98957cf70eea5f154b49
17use_bzip2               yes
18
19depends_lib             port:gtk2 port:tiff port:jpeg \
20                                port:libpng port:freetype \
21                                port:zlib
22
23patchfiles              patch-Makefile.in
24
25configure.env   LDFLAGS="-L${prefix}/lib" \
26                                CPPFLAGS="-I${prefix}/include -I${x11prefix}/include"
27configure.args  --with-gtk --with-libpng --with-libjpeg --with-libtiff \
28                                --with-freetype --with-zlib
29
30post-destroot {
31        xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
32        eval xinstall -m 644 [glob ${worksrcpath}/*.txt] \
33                ${destroot}/${prefix}/share/doc/${name}
34}
35
36variant opengl {
37        depends_lib-append              lib:libGL:XFree86
38        configure.args-append   --with-opengl
39}