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

(-)hs-x11-ghc/Makefile (-1 / +9 lines)
Lines 6-12 Link Here
6
6
7
PORTNAME=	x11
7
PORTNAME=	x11
8
PORTVERSION=	1.4.1
8
PORTVERSION=	1.4.1
9
PORTREVISION=	2
9
PORTREVISION=	3
10
CATEGORIES=	x11 haskell
10
CATEGORIES=	x11 haskell
11
MASTER_SITES=	http://hackage.haskell.org/packages/archive/X11/${PORTVERSION}/
11
MASTER_SITES=	http://hackage.haskell.org/packages/archive/X11/${PORTVERSION}/
12
PKGNAMEPREFIX=	hs-
12
PKGNAMEPREFIX=	hs-
Lines 36-43 Link Here
36
# 'owned' by lang/ghc:
36
# 'owned' by lang/ghc:
37
CABALDIR=	${PREFIX}/lib/ghc-${GHC_VERSION}/cabal
37
CABALDIR=	${PREFIX}/lib/ghc-${GHC_VERSION}/cabal
38
CABALCMD=	${LOCALBASE}/bin/runghc Setup.hs
38
CABALCMD=	${LOCALBASE}/bin/runghc Setup.hs
39
DOCSDIR=	${PREFIX}/share/doc/X11-${PORTVERSION}
39
SUBDIR=		${PORTNAME}${PKGNAMESUFFIX}
40
SUBDIR=		${PORTNAME}${PKGNAMESUFFIX}
40
41
42
.ifndef (NOPORTDOCS)
43
BUILD_DEPENDS+=	haddock:${PORTSDIR}/devel/hs-haddock
44
.endif
45
41
do-configure:
46
do-configure:
42
	cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX} --libdir=${CABALDIR} \
47
	cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX} --libdir=${CABALDIR} \
43
	 --libsubdir='' --datasubdir=''
48
	 --libsubdir='' --datasubdir=''
Lines 45-50 Link Here
45
do-build:
50
do-build:
46
	cd ${WRKSRC} && ${CABALCMD} build \
51
	cd ${WRKSRC} && ${CABALCMD} build \
47
	 && ${CABALCMD} --gen-script register
52
	 && ${CABALCMD} --gen-script register
53
.ifndef (NOPORTDOCS)
54
	cd ${WRKSRC} && ${CABALCMD} haddock
55
.endif
48
56
49
do-install:
57
do-install:
50
	cd ${WRKSRC} && ${CABALCMD} install \
58
	cd ${WRKSRC} && ${CABALCMD} install \
(-)hs-x11-ghc/pkg-plist (-10 / +36 lines)
Lines 1-31 Link Here
1
%%SUBDIR%%/Graphics/X11.hi
2
%%SUBDIR%%/Graphics/X11/Types.hi
1
%%SUBDIR%%/Graphics/X11/Xinerama.hi
3
%%SUBDIR%%/Graphics/X11/Xinerama.hi
2
%%SUBDIR%%/Graphics/X11/Xlib/Extras.hi
4
%%SUBDIR%%/Graphics/X11/Xlib.hi
3
%%SUBDIR%%/include/XlibExtras.h
4
%%SUBDIR%%/Graphics/X11/Xlib/Atom.hi
5
%%SUBDIR%%/Graphics/X11/Xlib/Atom.hi
5
%%SUBDIR%%/Graphics/X11/Xlib/Color.hi
6
%%SUBDIR%%/Graphics/X11/Xlib/Color.hi
6
%%SUBDIR%%/Graphics/X11/Xlib/Context.hi
7
%%SUBDIR%%/Graphics/X11/Xlib/Context.hi
7
%%SUBDIR%%/Graphics/X11/Xlib/Display.hi
8
%%SUBDIR%%/Graphics/X11/Xlib/Display.hi
8
%%SUBDIR%%/Graphics/X11/Xlib/Event.hi
9
%%SUBDIR%%/Graphics/X11/Xlib/Event.hi
10
%%SUBDIR%%/Graphics/X11/Xlib/Extras.hi
9
%%SUBDIR%%/Graphics/X11/Xlib/Font.hi
11
%%SUBDIR%%/Graphics/X11/Xlib/Font.hi
12
%%SUBDIR%%/Graphics/X11/Xlib/Image.hi
10
%%SUBDIR%%/Graphics/X11/Xlib/Misc.hi
13
%%SUBDIR%%/Graphics/X11/Xlib/Misc.hi
11
%%SUBDIR%%/Graphics/X11/Xlib/Region.hi
14
%%SUBDIR%%/Graphics/X11/Xlib/Region.hi
12
%%SUBDIR%%/Graphics/X11/Xlib/Screen.hi
15
%%SUBDIR%%/Graphics/X11/Xlib/Screen.hi
13
%%SUBDIR%%/Graphics/X11/Xlib/Types.hi
16
%%SUBDIR%%/Graphics/X11/Xlib/Types.hi
14
%%SUBDIR%%/Graphics/X11/Xlib/Window.hi
17
%%SUBDIR%%/Graphics/X11/Xlib/Window.hi
15
%%SUBDIR%%/Graphics/X11/Xlib/Image.hi
16
%%SUBDIR%%/Graphics/X11/Types.hi
17
%%SUBDIR%%/Graphics/X11/Xlib.hi
18
%%SUBDIR%%/Graphics/X11.hi
19
%%SUBDIR%%/libHSX11-%%PORTVERSION%%.a
20
%%SUBDIR%%/HSX11-%%PORTVERSION%%.o
18
%%SUBDIR%%/HSX11-%%PORTVERSION%%.o
21
%%SUBDIR%%/include/HsXlib.h
19
%%SUBDIR%%/include/HsXlib.h
20
%%SUBDIR%%/include/XlibExtras.h
21
%%SUBDIR%%/libHSX11-%%PORTVERSION%%.a
22
%%SUBDIR%%/%%PORTNAME%%-register.sh
22
%%SUBDIR%%/%%PORTNAME%%-register.sh
23
share/doc/X11-1.4.1/LICENSE
23
%%DOCSDIR%%/LICENSE
24
@dirrm share/doc/X11-1.4.1
24
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Types.html
25
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xinerama.html
26
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Atom.html
27
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Color.html
28
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Context.html
29
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Display.html
30
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Event.html
31
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Extras.html
32
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Font.html
33
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Image.html
34
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Misc.html
35
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Region.html
36
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Screen.html
37
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Types.html
38
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib-Window.html
39
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xlib.html
40
%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11.html
41
%%PORTDOCS%%%%DOCSDIR%%/html/X11.haddock
42
%%PORTDOCS%%%%DOCSDIR%%/html/doc-index.html
43
%%PORTDOCS%%%%DOCSDIR%%/html/haddock-util.js
44
%%PORTDOCS%%%%DOCSDIR%%/html/haddock.css
45
%%PORTDOCS%%%%DOCSDIR%%/html/haskell_icon.gif
46
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
47
%%PORTDOCS%%%%DOCSDIR%%/html/minus.gif
48
%%PORTDOCS%%%%DOCSDIR%%/html/plus.gif
49
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
50
@dirrm %%DOCSDIR%%
51
@dirrmtry %%SUBDIR%%/include
25
@dirrm %%SUBDIR%%/Graphics/X11/Xlib
52
@dirrm %%SUBDIR%%/Graphics/X11/Xlib
26
@dirrm %%SUBDIR%%/Graphics/X11
53
@dirrm %%SUBDIR%%/Graphics/X11
27
@dirrmtry %%SUBDIR%%/Graphics
54
@dirrmtry %%SUBDIR%%/Graphics
28
@dirrmtry %%SUBDIR%%/include
29
@exec /bin/sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh
55
@exec /bin/sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh
30
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
56
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
31
@unexec %D/bin/ghc-pkg unregister X11
57
@unexec %D/bin/ghc-pkg unregister X11

Return to bug 129045