View | Details | Raw Unified | Return to bug 120234
Collapse All | Expand All

(-)/usr/ports/x11-wm/xmonad/Makefile (-1 / +15 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=	xmonad
8
PORTNAME=	xmonad
9
PORTVERSION=	0.4
9
PORTVERSION=	0.6
10
CATEGORIES=	x11-wm haskell
10
CATEGORIES=	x11-wm haskell
11
MASTER_SITES=	http://hackage.haskell.org/packages/archive/xmonad/${PORTVERSION}/
11
MASTER_SITES=	http://hackage.haskell.org/packages/archive/xmonad/${PORTVERSION}/
12
DISTNAME=	xmonad-${PORTVERSION}
12
13
13
MAINTAINER=	matt.guegan@free.fr
14
MAINTAINER=	matt.guegan@free.fr
14
COMMENT=	Xmonad is a minimalist and tiling window manager for X
15
COMMENT=	Xmonad is a minimalist and tiling window manager for X
Lines 27-32 Link Here
27
PORTDOCS=	LICENSE
28
PORTDOCS=	LICENSE
28
MAN1=		xmonad.1
29
MAN1=		xmonad.1
29
30
31
post-install:
32
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
33
	@${ECHO} ''
34
	@${ECHO} ' From now XMonad uses a new configuration file system, '
35
	@${ECHO} ' so you don't have to edit Config.hs anymore.'
36
	@${ECHO} ' Instead, create a custom config file on ~/.xmonad/xmonad.hs'
37
	@${ECHO} ' You can see some samples on Xmonad's website.'
38
	@${ECHO} ''
39
40
	@${ECHO} ' Note that you can be interested by x11-wm/xmonad-contrib'
41
	@${ECHO} ''
42
.endif
43
30
do-configure:
44
do-configure:
31
	cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX}
45
	cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX}
32
46
(-)/usr/ports/x11-wm/xmonad/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (xmonad-0.4.tar.gz) = 5d24c556f7c8f04954721b391fd79a13
1
MD5 (xmonad-0.6.tar.gz) = 5e431d5e13cfb5cbcde2f5a3f813796a
2
SHA256 (xmonad-0.4.tar.gz) = 978fb99e40786070307992fde78fe252b96e834740fb983b94c3a395c45467bb
2
SHA256 (xmonad-0.6.tar.gz) = e107c5dbc659b2342e0e736d9baee0ee88a1404fa5161481b1924f23d3367c21
3
SIZE (xmonad-0.4.tar.gz) = 41025
3
SIZE (xmonad-0.6.tar.gz) = 49635
(-)/usr/ports/x11-wm/xmonad/pkg-deinstall (+33 lines)
Line 0 Link Here
1
#!/bin/sh
2
# Uses the ghc unregister command to deinstall properly
3
4
# Define VARS here
5
6
PKG_VERSION="0.6"
7
PKG_NAME="xmonad"
8
PKG_CATEGORY="x11-wm"
9
10
LOCALBASE=/usr/local
11
PORTSDIR=/usr/ports
12
13
CABALCMD="${LOCALBASE}/bin/runghc Setup.lhs"
14
WRKSRC=${PORTSDIR}/${PKG_CATEGORY}/${PKG_NAME}/work/${PKG_NAME}-${PKG_VERSION}
15
PKGDIR=${PORTSDIR}/${PKG_CATEGORY}/${PKG_NAME}
16
17
# ---SCRIPT---
18
19
case "$2" in
20
DEINSTALL)
21
	if [ -f $WRKSRC/Setup.lhs ]; then
22
		echo "Nice ! a work dir seems to be present..."
23
		echo "Try to make clean if this script fails..."
24
	else
25
		echo "We need to extract and compile xmonad pkg first..."
26
		cd ${PKGDIR} && make
27
		echo "OK here we go !!!"
28
	fi
29
	cd ${WRKSRC} && ${CABALCMD} unregister
30
	;;
31
esac
32
33
exit 0

Return to bug 120234