Install documentation for -lib subpackage.

Note: if you have hs-xmonad-contrib installed, you'll see an error
message from ghc-pkg (called from unregister.sh) when you update
xmonad-lib. That's harmless in this case, and I'll improve the
register/unregister stuff in ghc soon.
This commit is contained in:
kili 2010-05-16 14:12:20 +00:00
parent d409d7b95e
commit 8f4a6b2d2a
2 changed files with 67 additions and 10 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.11 2010/05/06 20:05:24 kili Exp $
# $OpenBSD: Makefile,v 1.12 2010/05/16 14:12:20 kili Exp $
COMMENT-main = tiling window manager
COMMENT-lib = libraries for runtime configuration
DISTNAME = xmonad-0.9.1
PKGNAME-main = ${DISTNAME}p0
PKGNAME-lib = ${DISTNAME:S,-,-lib-,}
PKGNAME-lib = ${DISTNAME:S,-,-lib-,}p0
CATEGORIES = x11
HOMEPAGE = http://www.xmonad.org/
@ -20,7 +20,7 @@ PERMIT_DISTFILES_FTP = Yes
WANTLIB-main = X11 Xext Xinerama c m util
MODULES = lang/ghc converters/libiconv
MODGHC_BUILD = cabal hackage register
MODGHC_BUILD = cabal hackage haddock register
.if defined (SUBPACKAGE) && ${SUBPACKAGE:M-main}
MODGHC_BUILD += nort
@ -34,9 +34,8 @@ USE_X11 = Yes
post-install:
@${INSTALL_MAN_DIR} ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/man/xmonad.1 ${PREFIX}/man/man1
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmonad
@${INSTALL_DATA} ${WRKSRC}/CONFIG ${PREFIX}/share/doc/xmonad
@${INSTALL_DATA} ${WRKSRC}/man/xmonad.hs ${PREFIX}/share/doc/xmonad
@${INSTALL_DATA} ${WRKSRC}/CONFIG ${PREFIX}/share/doc/${DISTNAME}
@${INSTALL_DATA} ${WRKSRC}/man/xmonad.hs ${PREFIX}/share/doc/${DISTNAME}
# Needs to be built with different configuration.
NO_REGRESS = Yes

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-lib,v 1.2 2010/04/22 22:00:45 kili Exp $
@comment $OpenBSD: PLIST-lib,v 1.3 2010/05/16 14:12:20 kili Exp $
lib/${DISTNAME}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/HS${DISTNAME}.o
@ -16,6 +16,64 @@ lib/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/register.sh
@unexec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/unregister.sh
lib/${DISTNAME}/unregister.sh
share/doc/xmonad/
share/doc/xmonad/CONFIG
share/doc/xmonad/xmonad.hs
share/doc/${DISTNAME}/
share/doc/${DISTNAME}/CONFIG
share/doc/${DISTNAME}/html/
share/doc/${DISTNAME}/html/XMonad-Config.html
share/doc/${DISTNAME}/html/XMonad-Core.html
share/doc/${DISTNAME}/html/XMonad-Layout.html
share/doc/${DISTNAME}/html/XMonad-Main.html
share/doc/${DISTNAME}/html/XMonad-ManageHook.html
share/doc/${DISTNAME}/html/XMonad-Operations.html
share/doc/${DISTNAME}/html/XMonad-StackSet.html
share/doc/${DISTNAME}/html/XMonad.html
share/doc/${DISTNAME}/html/doc-index-124.html
share/doc/${DISTNAME}/html/doc-index-45.html
share/doc/${DISTNAME}/html/doc-index-46.html
share/doc/${DISTNAME}/html/doc-index-60.html
share/doc/${DISTNAME}/html/doc-index-61.html
share/doc/${DISTNAME}/html/doc-index-95.html
share/doc/${DISTNAME}/html/doc-index-A.html
share/doc/${DISTNAME}/html/doc-index-B.html
share/doc/${DISTNAME}/html/doc-index-C.html
share/doc/${DISTNAME}/html/doc-index-D.html
share/doc/${DISTNAME}/html/doc-index-E.html
share/doc/${DISTNAME}/html/doc-index-F.html
share/doc/${DISTNAME}/html/doc-index-G.html
share/doc/${DISTNAME}/html/doc-index-H.html
share/doc/${DISTNAME}/html/doc-index-I.html
share/doc/${DISTNAME}/html/doc-index-J.html
share/doc/${DISTNAME}/html/doc-index-K.html
share/doc/${DISTNAME}/html/doc-index-L.html
share/doc/${DISTNAME}/html/doc-index-M.html
share/doc/${DISTNAME}/html/doc-index-N.html
share/doc/${DISTNAME}/html/doc-index-O.html
share/doc/${DISTNAME}/html/doc-index-P.html
share/doc/${DISTNAME}/html/doc-index-Q.html
share/doc/${DISTNAME}/html/doc-index-R.html
share/doc/${DISTNAME}/html/doc-index-S.html
share/doc/${DISTNAME}/html/doc-index-T.html
share/doc/${DISTNAME}/html/doc-index-U.html
share/doc/${DISTNAME}/html/doc-index-V.html
share/doc/${DISTNAME}/html/doc-index-W.html
share/doc/${DISTNAME}/html/doc-index-X.html
share/doc/${DISTNAME}/html/doc-index-Z.html
share/doc/${DISTNAME}/html/doc-index.html
share/doc/${DISTNAME}/html/frames.html
share/doc/${DISTNAME}/html/haddock-util.js
share/doc/${DISTNAME}/html/haddock.css
share/doc/${DISTNAME}/html/haskell_icon.gif
share/doc/${DISTNAME}/html/index-frames.html
share/doc/${DISTNAME}/html/index.html
share/doc/${DISTNAME}/html/mini_XMonad-Config.html
share/doc/${DISTNAME}/html/mini_XMonad-Core.html
share/doc/${DISTNAME}/html/mini_XMonad-Layout.html
share/doc/${DISTNAME}/html/mini_XMonad-Main.html
share/doc/${DISTNAME}/html/mini_XMonad-ManageHook.html
share/doc/${DISTNAME}/html/mini_XMonad-Operations.html
share/doc/${DISTNAME}/html/mini_XMonad-StackSet.html
share/doc/${DISTNAME}/html/mini_XMonad.html
share/doc/${DISTNAME}/html/minus.gif
share/doc/${DISTNAME}/html/plus.gif
share/doc/${DISTNAME}/html/xmonad.haddock
share/doc/${DISTNAME}/xmonad.hs