Ticket #17480: Portfile.diff

File Portfile.diff, 1.4 KB (added by jeremyhu (Jeremy Huddleston Sequoia), 15 years ago)

Portfile.diff

  • Portfile

     
    77                                        desktop window manager for the X Window system.
    88homepage                        http://www.fvwm.org/
    99maintainers                     pguyot@kallisys.net
    10 categories                      x11-wm x11
     10categories                      x11 x11-wm
    1111platforms                       darwin
    1212master_sites            ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
    1313                                        ftp://ftp.hpc.uh.edu/pub/fvwm/version-2/
     
    1818                                rmd160 4025f6c75c0919bffdaa9acbc7a4d987617d098b
    1919
    2020depends_lib                     lib:libX11.6:XFree86 \
    21                                         lib:libXpm.4:xpm \
    22                                         lib:libgtk.1:gtk1 \
    23                                         lib:libreadline:readline \
    24                                         bin:gnome-config:gnome-libs
    25 # I'm installing this in x11prefix like fvwm.
    26 configure.args          --enable-gtk \
     21                                lib:libXpm.4:xpm \
     22                                port:gtk1 \
     23                                port:readline \
     24                                port:gnome-libs
     25
     26configure.args                          --enable-gtk \
    2727                                        --with-gnome \
    2828                                        --with-ncurses-library=yes \
    2929                                        --without-rplay-library \
    3030                                        --without-stroke-library \
    31                                         --with-x \
    32                                         --prefix=${x11prefix}
     31                                        --x-include=${x11prefix}/include \
     32                                        --x-lib=${x11prefix}/lib
    3333
    3434livecheck.check regexm
    3535livecheck.regex {Latest Unstable Release: &nbsp; </td>\s+.*?<a href="download" >([^<]*)</a>}
    3636livecheck.url   ${homepage}
    3737
     38variant without_gnome {
     39        configure.args-delete --with-gnome
     40        configure.args-append --without-gnome
     41        depends_lib-delete port:gnome-libs
     42}
     43
     44# port:gtk1 is not universal
     45universal_variant no