source: trunk/dports/x11/icewm/Portfile

Last change on this file was 135070, checked in by mf2k@…, 2 years ago

emacs-snapshot gst icewm py-hgsvn py-requests yacas: Ports abandoned by saispo. (#47042)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1# $Id: Portfile 135070 2015-04-14 21:12:59Z ryandesign@macports.org $
2
3PortSystem  1.0
4
5name        icewm
6version     1.2.37
7categories  x11 x11-wm
8maintainers nomaintainer
9platforms   darwin
10
11description Lightweight window manager with a Windows or OS/2 look and feel
12long_description    Nice and fast window manager with the look and feel \
13            from Windows (95, 98) or OS/2 (Warp 3, Warp 4).
14
15homepage    http://www.icewm.org
16master_sites    http://downloads.sourceforge.net/icewm
17checksums   md5     970a21588d26eb361020fd60a61a482c \
18            sha1    bee1ca66d2282888807551bc28a65b08e4108027 \
19            rmd160  1e28eb750fd07321cf66bcaa617fc782acbb82f1
20
21patchfiles  01-fix_leopard_deprecated_in_stdlib.patch \
22            src_Makefile.in.patch \
23            src_yarray.h.patch
24
25depends_build \
26        port:pkgconfig
27depends_lib \
28        port:xorg-libice \
29        port:xorg-libsm \
30        port:xorg-libX11 \
31        port:xorg-libXau \
32        port:xorg-libXdmcp \
33        port:xorg-libXext \
34        port:Xft2 \
35        port:xorg-libXinerama \
36        port:xpm \
37        port:xorg-libXrandr \
38        port:xrender \
39        port:fontconfig \
40        port:freetype
41
42configure.args  --mandir=${prefix}/share/man \
43                --with-cfgdir=${prefix}/etc/icewm \
44                --with-xpm --without-icesound \
45                --disable-i18n --disable-nls \
46                --disable-debug
47
48destroot {
49    system "cd ${worksrcpath} && make install-docs DESTDIR=${destroot}"
50    system "cd ${worksrcpath} && make install-man DESTDIR=${destroot}"
51    if {[variant_isset gnome1] || [variant_isset gnome2]} {
52        system "cd ${worksrcpath} && make install-gnome DESTDIR=${destroot}"
53    }
54    system "cd ${worksrcpath} && make install DESTDIR=${destroot}"
55}
56
57post-destroot {
58    ui_msg ""
59    ui_msg "To start icewm put \"exec icewm-session\" in your \".xinitrc\" file."
60    ui_msg "Don't forget to add the MacPorts Environment to the X Environment too!"
61    ui_msg ""
62}
63
64variant lite description {Use the lightweight IceWM} {
65        configure.args-append  --enable-lite \
66                               --disable-xinerama --disable-xrandr
67}
68
69variant imlib description {Use Imlib for images instead of libxpm (does not work yet)} {
70        configure.args-delete  --with-xpm
71        configure.args-append  --with-imlib
72        depends_lib-append     port:imlib
73}
74
75variant nls description {Use internationalized messages (does not work correct yet)} {
76    configure.args-delete  --disable-i18n --disable-nls
77#    configure.args-append  --enable-i18n --enable-nls
78        depends_lib-append     port:gettext port:libiconv
79}
80
81variant debug description {Use this option if you want to debug IceWM} {
82        configure.args-delete  --disable-debug
83        configure.args-append  --enable-debug
84}
85
86# not tested: can't install esound, help2man
87variant esound description {Use sound support (untested)} {
88        configure.args-delete  --without-icesound
89        configure.args-append  --with-icesound=esound --enable-guievents
90        depends_lib-append     port:audiofile port:esound
91}
92
93# not tested, can't install gnome
94variant gnome1 conflicts gnome2 description {Use the GNOME menus with IceWM} {
95        configure.args-append  --enable-menus-gnome1
96}
97
98variant gnome2 conflicts gnome1 description {Use the KDE/GNOME2 menus with IceWM} {
99        configure.args-append  --enable-menus-gnome2
100}
101
Note: See TracBrowser for help on using the repository browser.