mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
da3e2e4ade
PR: ports/122447 Submitted by: Matthieu GUEGAN <matt.guegan at free.fr> (maintainer)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: xmonad
|
|
# Date created: 2007-10-25
|
|
# Whom: Matthieu Guegan <matt.guegan@free.fr>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmonad
|
|
PORTVERSION= 0.7
|
|
CATEGORIES= x11-wm haskell
|
|
MASTER_SITES= http://hackage.haskell.org/packages/archive/xmonad/${PORTVERSION}/
|
|
|
|
MAINTAINER= matt.guegan@free.fr
|
|
COMMENT= Xmonad is a minimalist and tiling window manager for X
|
|
|
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
|
|
hs-x11-ghc>=1.4.1:${PORTSDIR}/x11/hs-x11-ghc
|
|
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
|
|
|
|
USE_XLIB= yes
|
|
|
|
CABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs
|
|
GHC_VERSION= 6.8.2
|
|
SUBDIR= lib/${PORTNAME}-${PORTVERSION}
|
|
PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
|
|
PORTVERSION=${PORTVERSION} \
|
|
SUBDIR=${SUBDIR}
|
|
|
|
MAN1= xmonad.1
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} register --gen-script
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${CABALCMD} install
|
|
${INSTALL_MAN} ${WRKSRC}/man/xmonad.1 ${MAN1PREFIX}/man/man1
|
|
${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${SUBDIR}/register.sh
|
|
|
|
.include <bsd.port.mk>
|