2002-07-26 15:38:27 +02:00
|
|
|
# Ports collection makefile for: ghc-doc
|
|
|
|
# Date created: 26 Jul 2002
|
|
|
|
# Whom: olgeni@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ghc-doc
|
2003-03-28 21:30:40 +01:00
|
|
|
PORTVERSION= 5.04.3
|
2002-11-20 10:10:55 +01:00
|
|
|
CATEGORIES= lang haskell
|
2002-07-26 15:38:27 +02:00
|
|
|
MASTER_SITES= http://www.haskell.org/ghc/docs/${PORTVERSION}/ \
|
2004-05-11 21:22:26 +02:00
|
|
|
http://www.haskell.org/ghc/docs/${PORTVERSION}/html/ \
|
|
|
|
http://www.mirror.ac.uk/sites/www.haskell.org/ghc/docs/${PORTVERSION}/ \
|
|
|
|
http://www.mirror.ac.uk/sites/www.haskell.org/ghc/docs/${PORTVERSION}/html/
|
2003-03-08 12:58:45 +01:00
|
|
|
DISTFILES= building.html.tar.gz building.ps.gz hslibs.html.tar.gz \
|
|
|
|
hslibs.ps.gz libraries.html.tar.gz users_guide.html.tar.gz \
|
|
|
|
users_guide.ps.gz index.html
|
2002-07-26 15:38:27 +02:00
|
|
|
DIST_SUBDIR= ghc
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
2003-02-23 11:51:29 +01:00
|
|
|
COMMENT= Documentation (HTML, PS) for the Glasgow Haskell Compiler
|
2002-07-26 15:38:27 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${LOCALBASE}/share/doc/ghc
|
2003-03-08 12:58:45 +01:00
|
|
|
.for FILE in building.ps.gz hslibs.ps.gz users_guide.ps.gz index.html
|
2002-07-26 15:38:27 +02:00
|
|
|
@${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>
|