openbsd-ports/x11/awesome/Makefile
merdely 8218743290 awesome is a window manager initially based on a dwm code rewriting.
It's extremely fast, small, dynamic and awesome.

It manages windows in several layouts mode: tiled, floating, etc.  Each
layout can be applied dynamically, optimizing the environment for the
application in use and the task performed. Every aspect of awesome is
configurable via a configuration file: awesomerc.

From Will Maier (MAINTAINER)
ok pyr@
2007-09-26 19:13:35 +00:00

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/09/26 19:13:35 merdely Exp $
COMMENT= fast, small, dynamic and awesome window manager
V=1.1
DISTNAME= awesome-${V}
CATEGORIES= x11
HOMEPAGE= http://awesome.naquadah.org/
MAINTAINER= Will Maier <willmaier@ml1.net>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xinerama Xrandr c
MASTER_SITES= ${HOMEPAGE}/download/
LIB_DEPENDS= config::devel/libconfig
CFLAGS+= -I. -I${X11BASE}/include -I${PREFIX}/include -DVERSION=\\\"$V\\\" \
$$(pkg-config --cflags libconfig)
LDFLAGS+= -L${X11BASE}/lib -L${PREFIX}/lib -lX11 -lXext -lXrandr -lXinerama \
$$(pkg-config --libs libconfig)
MAKE_FLAGS= CC=${CC} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
FAKE_FLAGS= MANPREFIX=${PREFIX}/man \
PREFIX=${PREFIX}
USE_X11= Yes
NO_REGRESS= Yes
post-patch:
@perl -pi -e 's|Mod4|Mod1|g' ${WRKSRC}/awesomerc
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/awesome/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/awesome/
${INSTALL_DATA} ${WRKSRC}/awesomerc ${PREFIX}/share/examples/awesome/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/awesome/
.include <bsd.port.mk>