[31962] trunk/dports/x11

milosh at macports.org milosh at macports.org
Wed Dec 12 10:59:58 PST 2007


Revision: 31962
          http://trac.macosforge.org/projects/macports/changeset/31962
Author:   milosh at macports.org
Date:     2007-12-12 10:59:56 -0800 (Wed, 12 Dec 2007)

Log Message:
-----------
New port: awesome. A tiling WM (similar to wmii or dwm).

Added Paths:
-----------
    trunk/dports/x11/awesome/
    trunk/dports/x11/awesome/Portfile
    trunk/dports/x11/awesome/files/
    trunk/dports/x11/awesome/files/patch-Makefile
    trunk/dports/x11/awesome/files/patch-config.mk

Added: trunk/dports/x11/awesome/Portfile
===================================================================
--- trunk/dports/x11/awesome/Portfile	                        (rev 0)
+++ trunk/dports/x11/awesome/Portfile	2007-12-12 18:59:56 UTC (rev 31962)
@@ -0,0 +1,44 @@
+# $Id$
+
+PortSystem        1.0
+
+name              awesome
+version           2.0
+categories        x11 x11-wm
+maintainers       milosh
+
+description       awesome is a tiling window manager
+long_description  \
+    awesome is a tiling window manager initially based on a dwm code\
+    rewriting. It is extremely fast, small, dynamic and awesome.\
+    Windows can be managed in several layouts: tiled, maximized and floating.\
+    Each layout can be applied on the fly, optimizing the environment for the\
+    application in use and the task performed.\
+    awesome has the following features: very stable, no mouse needed,\
+    multihead support, some real transparency support, some xrandr support, no\
+    lua integration, no 9P support, no editable tagbars, no limits on its\
+    source size, key, script and mouse bindings, etc.
+
+homepage          http://awesome.naquadah.org/
+master_sites      ${homepage}download/
+checksums         md5  b3e245bd9b8c05b759cc0acbec9f6a29 \
+                  sha1 7a3257e7a76f9d77bd59558aa8393f2bed50057f \
+                  rmd160  3a3a7014a11915f316bfce9ce5a2a606a057363a
+
+depends_lib       lib:libX11.6:XFree86 \
+                  port:Xft2 \
+                  port:pkgconfig \
+                  port:cairo \
+                  port:libconfuse
+patchfiles        patch-config.mk patch-Makefile
+post-patch      {
+        reinplace "s|/opt/local|${prefix}|" ${worksrcpath}/config.mk
+}
+
+use_configure     no
+
+variant doc description {Build man pages} {
+    depends_build     port:asciidoc port:xmlto
+    destroot.target   install install-man
+    build.target      all man
+}


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

Added: trunk/dports/x11/awesome/files/patch-Makefile
===================================================================
--- trunk/dports/x11/awesome/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/x11/awesome/files/patch-Makefile	2007-12-12 18:59:56 UTC (rev 31962)
@@ -0,0 +1,16 @@
+--- Makefile.orig	2007-12-11 16:42:11.000000000 +0100
++++ Makefile	2007-12-11 16:42:39.000000000 +0100
+@@ -64,10 +64,12 @@
+ 
+ install: strip install-unstrip
+ 
+-install-unstrip: awesome awesome-client man
++install-unstrip: awesome awesome-client
+ 	@echo installing executable file to ${DESTDIR}${PREFIX}/bin
+ 	@install -d ${DESTDIR}${PREFIX}/bin
+ 	@install -m 755 awesome awesome-client ${DESTDIR}${PREFIX}/bin
++
++install-man: man
+ 	@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
+ 	@install -d ${DESTDIR}${MANPREFIX}/man1
+ 	@install -m 644 ${DOCS:.txt=} ${DESTDIR}${MANPREFIX}/man1

Added: trunk/dports/x11/awesome/files/patch-config.mk
===================================================================
--- trunk/dports/x11/awesome/files/patch-config.mk	                        (rev 0)
+++ trunk/dports/x11/awesome/files/patch-config.mk	2007-12-12 18:59:56 UTC (rev 31962)
@@ -0,0 +1,27 @@
+--- config.mk.orig	2007-12-02 20:20:56.000000000 +0100
++++ config.mk	2007-12-02 20:26:25.000000000 +0100
+@@ -8,18 +8,18 @@
+ LAYOUTS = layouts/tile.c layouts/floating.c layouts/max.c
+ 
+ # paths
+-PREFIX = /usr/local
++PREFIX = /opt/local
+ MANPREFIX = ${PREFIX}/share/man
+ 
+-X11INC = /usr/include/X11
+-X11LIB = /usr/lib/X11
++X11INC = /opt/local/include/X11
++X11LIB = /opt/local/lib
+ 
+ # includes and libs
+-INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags libconfuse xft cairo`
+-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfuse xft cairo` -lXext -lXrandr -lXinerama
++INCS = -I. -I/opt/local/include -I${X11INC} `pkg-config --cflags libconfuse xft cairo`
++LIBS = -L/opt/local/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfuse xft cairo` -lXext -lXrandr -lXinerama
+ 
+ # flags
+-CFLAGS = -fgnu89-inline -std=gnu99 -ggdb3 -pipe -Wall -Wextra -W -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wuninitialized -Winit-self -Wpointer-arith -Wredundant-decls -Wno-format-zero-length -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -O3 ${INCS} -DVERSION=\"${VERSION}\" -DRELEASE=\"${RELEASE}\"
++CFLAGS = -std=gnu99 -ggdb3 -pipe -Wall -Wextra -W -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wuninitialized -Winit-self -Wpointer-arith -Wredundant-decls -Wno-format-zero-length -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -O3 ${INCS} -DVERSION=\"${VERSION}\" -DRELEASE=\"${RELEASE}\"
+ LDFLAGS = -ggdb3 ${LIBS}
+ CLIENTLDFLAGS = -ggdb3
+ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071212/f867edb3/attachment-0001.html


More information about the macports-changes mailing list