freebsd-ports/lang/ghc6-doc/Makefile
Jimmy Olgeni 6c5333c7a2 Upgrade to version 6.2. Add PORTVERSION to DIST_SUBDIR as the tarballs do
not have a version number. Also install under ${LOCALBASE}/share/doc/ghc6
to avoid conflicts with ghc-doc.
2004-01-15 22:25:50 +00:00

36 lines
1 KiB
Makefile

# Ports collection makefile for: ghc6-doc
# Date created: 19 Jun 2003
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= ghc6-doc
PORTVERSION= 6.2
CATEGORIES= lang haskell
MASTER_SITES= http://www.haskell.org/ghc/docs/${PORTVERSION}/ \
http://www.haskell.org/ghc/docs/${PORTVERSION}/html/
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
DIST_SUBDIR= ghc-${PORTVERSION}
EXTRACT_ONLY=
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Documentation (HTML, PS) for the Glasgow Haskell Compiler
NO_BUILD= yes
do-install:
@${MKDIR} ${LOCALBASE}/share/doc/ghc6
.for FILE in building.ps.gz hslibs.ps.gz users_guide.ps.gz index.html
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} \
${LOCALBASE}/share/doc/ghc6
.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/ghc6
.endfor
.include <bsd.port.mk>