[28019] trunk/dports/x11

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 18 03:02:32 PDT 2007


Revision: 28019
          http://trac.macosforge.org/projects/macports/changeset/28019
Author:   raimue at macports.org
Date:     2007-08-18 03:02:31 -0700 (Sat, 18 Aug 2007)

Log Message:
-----------
x11/icewm:
new port submission, thanks to Lutz Mader
closes #12436

Added Paths:
-----------
    trunk/dports/x11/icewm/
    trunk/dports/x11/icewm/Portfile

Added: trunk/dports/x11/icewm/Portfile
===================================================================
--- trunk/dports/x11/icewm/Portfile	                        (rev 0)
+++ trunk/dports/x11/icewm/Portfile	2007-08-18 10:02:31 UTC (rev 28019)
@@ -0,0 +1,88 @@
+# $Id$
+
+PortSystem  1.0
+
+name        icewm
+version     1.2.31
+categories  x11 x11-wm
+maintainers nomaintainer at macports.org
+platforms   darwin
+
+description Lightweight window manager with a Windows or OS/2 look and feel
+long_description    Nice and fast window manager with the look and feel \
+            from Windows (95, 98) or OS/2 (Warp 3, Warp 4).
+
+homepage    http://www.icewm.org
+master_sites    http://downloads.sourceforge.net/icewm
+checksums   md5 aef471135eb0c6d69a30ef971c2f7412
+
+depends_lib lib:libX11.6:XFree86 lib:libXext.6:XFree86 lib:libXpm.4:xpm \
+            lib:libSM.6:sm \
+            port:gettext port:freetype port:xft2
+
+configure.args  --mandir=${prefix}/share/man \
+                --with-cfgdir=${prefix}/etc/icewm \
+                --with-xpm --without-icesound \
+                --disable-i18n --disable-nls \
+                --disable-debug
+
+destroot {
+    system "cd ${worksrcpath} && make install-docs DESTDIR=${destroot}"
+    system "cd ${worksrcpath} && make install-man DESTDIR=${destroot}"
+    if {[variant_isset gnome1] || [variant_isset gnome2]} {
+        system "cd ${worksrcpath} && make install-gnome DESTDIR=${destroot}"
+    }
+    system "cd ${worksrcpath} && make install DESTDIR=${destroot}"
+}
+
+post-destroot {
+    ui_msg ""
+    ui_msg "To start icewm put \"exec icewm-session\" in your \".xinitrc\" file."
+    ui_msg "Don't forget to add the MacPorts Environment to the X Environment too!"
+    ui_msg ""
+}
+
+variant lite description { Use the lightweight IceWM } {
+	configure.args-append  --enable-lite \
+	                       --disable-xinerama --disable-xrandr
+}
+
+variant xpm conflicts imlib description { Use Xpm from MacPorts for images } {
+	configure.args-delete  --with-imlib
+# 	 configure.args-append  --with-xpm
+	depends_lib-append     port:xpm
+}
+
+variant imlib conflicts xpm description { Use Imlib for images instead of libxpm (does not work yet) } {
+	configure.args-delete  --with-xpm
+	configure.args-append  --with-imlib
+	depends_lib-append     port:imlib
+}
+
+variant nls description { Use internationalized messages (does not work correct yet) } {
+    configure.args-delete  --disable-i18n --disable-nls
+#    configure.args-append  --enable-i18n --enable-nls
+	depends_lib-append     port:gettext port:libiconv
+}
+
+variant debug description { Use this option if you want to debug IceWM } {
+	configure.args-delete  --disable-debug
+	configure.args-append  --enable-debug
+}
+
+# not tested: can't install esound, help2man
+variant esound description { Use sound support (untested) } {
+	configure.args-delete  --without-icesound
+	configure.args-append  --with-icesound=esound --enable-guievents
+	depends_lib-append     port:audiofile port:esound
+}
+
+# not tested, can't install gnome
+variant gnome1 conflicts gnome2 description { Use the GNOME menus with IceWM } {
+	configure.args-append  --enable-menus-gnome1
+}
+
+variant gnome2 conflicts gnome1 description { Use the KDE/GNOME2 menus with IceWM } {
+	configure.args-append  --enable-menus-gnome2
+}
+


Property changes on: trunk/dports/x11/icewm/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070818/3ce527d7/attachment.html


More information about the macports-changes mailing list