freebsd-ports/lang/ghc-doc/Makefile
2002-09-17 20:59:56 +00:00

36 lines
948 B
Makefile

# 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>