1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name icewm |
---|
6 | #version 1.2.30 |
---|
7 | version 1.2.31 |
---|
8 | categories x11 x11-wm |
---|
9 | maintainers nomaintainer@macports.org |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | epoch 20070811 |
---|
13 | revision 1 |
---|
14 | |
---|
15 | description Lightweight window manager with a Windows or OS/2 look and feel |
---|
16 | long_description Nice and fast window manager with the look and feel \ |
---|
17 | from Windows (95, 98) or OS/2 (Warp 3, Warp 4). |
---|
18 | |
---|
19 | homepage http://www.icewm.org |
---|
20 | master_sites http://downloads.sourceforge.net/icewm |
---|
21 | #checksums md5 8a302c5e629bb81d87cc02004a694ece |
---|
22 | checksums md5 aef471135eb0c6d69a30ef971c2f7412 |
---|
23 | |
---|
24 | depends_lib lib:libX11.6:XFree86 lib:libXext.6:XFree86 lib:libXpm.4:xpm \ |
---|
25 | lib:libSM.6:sm \ |
---|
26 | port:gettext port:freetype port:xft2 |
---|
27 | |
---|
28 | configure.args --mandir=${prefix}/share/man \ |
---|
29 | --with-cfgdir=${prefix}/etc/icewm \ |
---|
30 | --with-xpm --without-icesound \ |
---|
31 | --disable-i18n --disable-nls \ |
---|
32 | --disable-debug |
---|
33 | |
---|
34 | destroot { |
---|
35 | system "cd ${worksrcpath} && make install-docs DESTDIR=${destroot}" |
---|
36 | system "cd ${worksrcpath} && make install-man DESTDIR=${destroot}" |
---|
37 | if {[variant_isset gnome1] || [variant_isset gnome2]} { |
---|
38 | system "cd ${worksrcpath} && make install-gnome DESTDIR=${destroot}" |
---|
39 | } |
---|
40 | system "cd ${worksrcpath} && make install DESTDIR=${destroot}" |
---|
41 | } |
---|
42 | |
---|
43 | post-destroot { |
---|
44 | ui_msg "" |
---|
45 | ui_msg "To start icewm put \"exec icewm-session\" in your \".xinitrc\" file." |
---|
46 | ui_msg "Don't forget to add the MacPorts Environment to the X Environment too!" |
---|
47 | ui_msg "" |
---|
48 | } |
---|
49 | |
---|
50 | if {[variant_isset xpm]} { |
---|
51 | variant_unset imlib |
---|
52 | } |
---|
53 | if {[variant_isset imlib]} { |
---|
54 | variant_unset xpm |
---|
55 | } |
---|
56 | if {[variant_isset gnome1]} { |
---|
57 | variant_unset gnome2 |
---|
58 | } |
---|
59 | if {[variant_isset gnome2]} { |
---|
60 | variant_unset gnome1 |
---|
61 | } |
---|
62 | |
---|
63 | # Use the lightweight IceWM |
---|
64 | variant lite { |
---|
65 | configure.args-append --enable-lite \ |
---|
66 | --disable-xinerama --disable-xrandr |
---|
67 | } |
---|
68 | |
---|
69 | # Use Xpm for images |
---|
70 | variant xpm { |
---|
71 | configure.args-delete --with-imlib |
---|
72 | # configure.args-append --with-xpm |
---|
73 | depends_lib-append port:xpm |
---|
74 | } |
---|
75 | |
---|
76 | # Use Imlib for images, does not work yet |
---|
77 | variant imlib { |
---|
78 | configure.args-delete --with-xpm |
---|
79 | configure.args-append --with-imlib |
---|
80 | depends_lib-append port:imlib |
---|
81 | } |
---|
82 | |
---|
83 | # Use internationalized message, does not work correct yet |
---|
84 | variant nls { |
---|
85 | configure.args-delete --disable-i18n --disable-nls |
---|
86 | # configure.args-append --enable-i18n --enable-nls |
---|
87 | depends_lib-append port:gettext port:libiconv |
---|
88 | } |
---|
89 | |
---|
90 | # Use this option if you want to debug IceWM |
---|
91 | variant debug { |
---|
92 | configure.args-delete --disable-debug |
---|
93 | configure.args-append --enable-debug |
---|
94 | } |
---|
95 | |
---|
96 | # Use sound support, not tested, can't install esound, help2man |
---|
97 | variant esound { |
---|
98 | configure.args-delete --without-icesound |
---|
99 | configure.args-append --with-icesound=esound --enable-guievents |
---|
100 | depends_lib-append port:audiofile port:esound |
---|
101 | } |
---|
102 | |
---|
103 | # Use the GNOME menus with IceWM, not tested, can't install gnome |
---|
104 | variant gnome1 { |
---|
105 | configure.args-append --enable-menus-gnome1 |
---|
106 | } |
---|
107 | |
---|
108 | # Use the KDE/GNOME2 menus with IceWM |
---|
109 | variant gnome2 { |
---|
110 | configure.args-append --enable-menus-gnome2 |
---|
111 | } |
---|