source: trunk/dports/x11/fvwm2/Portfile

Last change on this file was 116434, checked in by jmr@…, 3 years ago

fvwm2: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 116434 2014-01-25 06:05:03Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                fvwm2
6conflicts           fvwm
7version             2.6.5
8revision            2
9description         Version 2.x of FVWM, an X11 window manager.
10long_description    FVWM 2.x is an extremely powerful ICCCM-compliant multiple \
11                    virtual desktop window manager for the X Window system.
12homepage            http://www.fvwm.org/
13maintainers         nomaintainer
14categories          x11 x11-wm
15license             GPL-2+
16platforms           darwin
17master_sites        ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
18                    http://ftp.lyx.org/pub/X11/fvwm/version-2/
19distname            fvwm-${version}
20use_bzip2           yes
21
22checksums           rmd160  cf4d1374f2912a12047b7e66908bdaaae8c599b7 \
23                    sha256  21549995c53906be5533746a1cf61b1ecf8dd8ef6816a0b20615d45ff78b48cf
24
25depends_build       port:pkgconfig \
26                    port:libxslt
27
28depends_lib         port:xorg-libsm \
29                    port:xorg-libXinerama \
30                    port:xorg-libXcursor \
31                    port:xpm \
32                    port:Xft2 \
33                    port:libpng \
34                    port:librsvg \
35                    port:readline
36
37configure.args      --x-includes=${prefix}/include \
38                    --x-libraries=${prefix}/lib \
39                    --disable-gtk \
40                    --without-gnome \
41                    --disable-bidi \
42                    --disable-nls \
43                    --with-ncurses-library=yes \
44                    --without-rplay-library \
45                    --without-stroke-library
46
47# "configure is not able to compile programs with warnings.  Please
48# remove all offending options like -Werror from the CFLAGS and
49# CPPFLAGS variables and run configure again."
50# clang uses -Wreturn-type by default, so disable it explicitly.
51configure.cflags-append -Wno-return-type
52
53# port:gtk1 is not universal
54
55if {[variant_isset gtk] || [variant_isset gnome]} {
56        universal_variant   no
57}
58
59variant gtk description {Enable support for outdated GTK+ 1.x} {
60    configure.args-delete --disable-gtk
61    configure.args-append --enable-gtk
62    depends_lib-append port:gtk1
63}
64
65variant gnome requires gtk description {Enable support for outdated GNOME 1.x} {
66    configure.args-delete --without-gnome
67    configure.args-append --with-gnome
68    depends_lib-append port:gnome-libs
69}
70
71variant bidi description {Enable support for bidirection text handling} {
72    configure.args-delete --disable-bidi
73    depends_lib-append port:fribidi
74}
75
76livecheck.type      regexm
77livecheck.url       ${homepage}
78livecheck.regex     {Latest Release: &nbsp; </td>\s+.*?<a href="download" >([^<]*)</a>}
Note: See TracBrowser for help on using the repository browser.