dcoppa 2fe65237de commit 2d3103345e3a266eaf1d5261ef37e36ac5498ecc
Author: Uli Schlachter <psychon@znc.in>
Date:   Sun Apr 7 11:57:40 2013 +0200

Implement window gravity in ConfigureRequests

Previously, awesome didn't move windows when they sent a ConfigureRequest
(and it also shrunk them by the size of titlebars, before it forgot
to add these). This commit adds proper gravity support to
ConfigureRequest handling.

See: https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1137
2013-05-24 16:15:24 +00:00

78 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.60 2013/05/24 16:15:24 dcoppa Exp $
COMMENT= highly configurable framework window manager
DISTNAME= awesome-3.5.1
REVISION= 0
EXTRACT_SUFX= .tar.xz
CATEGORIES= x11
HOMEPAGE= http://awesome.naquadah.org/
MAINTAINER= David Coppa <dcoppa@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= X11 X11-xcb Xcursor c cairo dbus-1 \
execinfo gdk_pixbuf-2.0 glib-2.0 \
gobject-2.0 ${MODLUA_WANTLIB} m \
startup-notification-1 xcb xcb-atom \
xcb-aux xcb-event xcb-icccm xcb-image \
xcb-keysyms xcb-property xcb-randr \
xcb-render xcb-shape xcb-shm \
xcb-xinerama xcb-xtest xdg-basedir
MASTER_SITES= ${HOMEPAGE}download/
MODULES= devel/cmake \
devel/gettext \
lang/lua
MODLUA_VERSION= 5.2
LIB_DEPENDS= devel/libexecinfo \
devel/startup-notification \
graphics/cairo \
graphics/gdk-pixbuf2 \
${MODLUA_LIB_DEPENDS} \
x11/dbus \
x11/libxdg-basedir
MODLUA_BUILD_DEPENDS= devel/lua-lgi \
devel/lualdoc
BUILD_DEPENDS= textproc/asciidoc>=8.4.5 \
textproc/xmlto \
graphics/ImageMagick \
devel/doxygen
MODLUA_RUN_DEPENDS= devel/lua-lgi
RUN_DEPENDS= misc/rlwrap \
shells/bash
CONFIGURE_ARGS= -DCOMPRESS_MANPAGES=off \
-DSYSCONFDIR=${SYSCONFDIR}
SEPARATE_BUILD= No
NO_TEST= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/awesomeConfig.cmake \
${WRKSRC}/lib/naughty.lua.in \
${WRKSRC}/lib/awful/util.lua.in \
${WRKSRC}/lib/menubar/menu_gen.lua.in \
${WRKSRC}/lib/menubar/utils.lua.in
post-install:
@rm ${WRKINST}/${LOCALBASE}/share/awesome/lib/*.{beforesubst,orig}
@rm ${WRKINST}/${LOCALBASE}/share/awesome/lib/awful/*.{beforesubst,orig}
@rm ${WRKINST}/${LOCALBASE}/share/awesome/lib/menubar/*.{beforesubst,orig}
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/awesome
@mv ${WRKINST}/${SYSCONFDIR}/xdg/awesome/rc.lua \
${PREFIX}/share/examples/awesome/
.include <bsd.port.mk>