aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ghc
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2008-03-07 01:03:29 +0800
committerobraun <obraun@FreeBSD.org>2008-03-07 01:03:29 +0800
commitab097a1063ccc12c4d18f91f99297d4ad61a9a8d (patch)
treef514d86069a29341383a365cb1fd30962e129152 /lang/ghc
parent72490bfda67a372da4c5d236fae755bb51bae03f (diff)
downloadfreebsd-ports-gnome-ab097a1063ccc12c4d18f91f99297d4ad61a9a8d.tar.gz
freebsd-ports-gnome-ab097a1063ccc12c4d18f91f99297d4ad61a9a8d.tar.zst
freebsd-ports-gnome-ab097a1063ccc12c4d18f91f99297d4ad61a9a8d.zip
Install manpage only with docs (building manpage depends on textproc/libxslt).
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/Makefile5
1 files changed, 2 insertions, 3 deletions
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