summaryrefslogtreecommitdiffstats
path: root/lang/ghc6-doc/Makefile
blob: 64e37acda67b440676088e7c0648f34e27057626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Ports collection makefile for:	ghc-doc
# Date created:				26 Jul 2002
# Whom:					olgeni@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	ghc-doc
PORTVERSION=	5.04.1
CATEGORIES=	lang
MASTER_SITES=	http://www.haskell.org/ghc/docs/${PORTVERSION}/ \
		http://www.haskell.org/ghc/docs/${PORTVERSION}/html/
DISTFILES=      building.html.tar.gz building.ps hslibs.html.tar.gz \
		hslibs.ps libraries.html.tar.gz users_guide.html.tar.gz \
		users_guide.ps index.html
DIST_SUBDIR=	ghc
EXTRACT_ONLY=

MAINTAINER=	olgeni@FreeBSD.org

NO_BUILD=	yes

do-install:
	@${MKDIR} ${LOCALBASE}/share/doc/ghc
.for FILE in building.ps hslibs.ps users_guide.ps index.html
	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} \
		${LOCALBASE}/share/doc/ghc
.endfor
.for FILE in building.html.tar.gz hslibs.html.tar.gz \
	libraries.html.tar.gz users_guide.html.tar.gz
	@${TAR} xfz ${DISTDIR}/${DIST_SUBDIR}/${FILE} \
		-C ${LOCALBASE}/share/doc/ghc
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud