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