From ab097a1063ccc12c4d18f91f99297d4ad61a9a8d Mon Sep 17 00:00:00 2001 From: obraun Date: Thu, 6 Mar 2008 17:03:29 +0000 Subject: Install manpage only with docs (building manpage depends on textproc/libxslt). --- lang/ghc/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lang/ghc') diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index 8a7db9250da3..11daccf7027a 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -72,7 +72,6 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-rts-Linker.c \ DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} GHC_LIBDIR_REL= lib/ghc-${GHC_VERSION} PORTDOCS= * -MAN1= ghc.1 PLIST_SUB+= GHC_VERSION=${GHC_VERSION} GHC_LIBDIR_REL=${GHC_LIBDIR_REL} DOCSDIR_REL=${DOCSDIR_REL} @@ -113,6 +112,8 @@ DISTFILES+= haddock-2.0.0.0.tar.gz:docs \ EXTRACT_ONLY= ${_DISTFILES:C/hscolour.*$//g:C/haddock.*$//g} +MAN1= ghc.1 + SUB_FILES= pkg-message.haddock SLAVES_PREFIX= ${WRKDIR}/slaves_prefix @@ -187,8 +188,6 @@ post-install: @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} -.else - @${INSTALL_MAN} ${WRKSRC}/docs/man/ghc.1 ${PREFIX}/man/man1 .endif @${RM} -f ${PREFIX}/lib/ghc-${PORTVERSION}/package.conf.old -- cgit