openbsd-ports/x11/xmonad/Makefile
kili c6479abcee Xmonad is a tiling window manager for X. Windows are arranged
automatically to tile the screen without gaps or overlap, maximising
screen use. All features of the window manager are accessible from
the keyboard: a mouse is strictly optional. Xmonad is written and
extensible in Haskell. Custom layout algorithms, and other extensions,
may be written by the user in config files. Layouts are applied
dynamically, and different layouts may be used on each workspace.
Xinerama is fully supported, allowing windows to be tiled on several
screens. A guiding principle of the design is predictability: users
should know in advance precisely the window arrangement that will
result from any action, leading to a simpler user interface.
2007-09-01 22:18:41 +00:00

51 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/09/01 22:18:41 kili Exp $
COMMENT= "tiling window manager"
DISTNAME= xmonad-0.2
CATEGORIES= x11
HOMEPAGE= http://www.xmonad.org/
MAINTAINER= Matthias Kilian <kili@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://hackage.haskell.org/packages/archive/xmonad/0.2/
WANTLIB= X11 Xext Xinerama c gmp m
MODULES= lang/ghc
LIB_DEPENDS= ::x11/hs-x11-extras
SETUP_CONF_ARGS= configure -g --prefix=${PREFIX}
SETUP_CONF_ENV= HOME=${PORTHOME} PATH=${PATH}
SETUP_PROG= ${WRKSRC}/Setup
SUBST_VARS= V
USE_X11= Yes
do-configure:
@cd ${WRKSRC} && ghc --make -o ${SETUP_PROG} Setup.lhs
@cd ${WRKBUILD} && exec ${SETENV} ${SETUP_CONF_ENV} \
${SETUP_PROG} ${SETUP_CONF_ARGS}
do-build:
@cd ${WRKBUILD} && exec ${SETENV} ${SETUP_CONF_ENV} \
${SETUP_PROG} build
do-install:
@cd ${WRKBUILD} && exec ${SETENV} ${SETUP_CONF_ENV} \
${SETUP_PROG} copy --destdir=${DESTDIR}
@${INSTALL_MAN_DIR} ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/man/xmonad.1 ${PREFIX}/man/man1
do-regress:
@cd ${WRKBUILD} && exec ${SETENV} ${SETUP_CONF_ENV} \
${SETUP_PROG} test
.include <bsd.port.mk>