2005-09-12 10:19:16 +00:00
|
|
|
# Ports collection makefile for: ghc6-doc
|
|
|
|
# Date created: 19 Jun 2003
|
2002-07-26 13:38:27 +00:00
|
|
|
# Whom: olgeni@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-09-05 03:19:59 +00:00
|
|
|
PORTNAME= ghc
|
2007-01-23 18:11:10 +00:00
|
|
|
PORTVERSION= 6.6
|
2002-11-20 09:10:55 +00:00
|
|
|
CATEGORIES= lang haskell
|
2002-07-26 13:38:27 +00:00
|
|
|
MASTER_SITES= http://www.haskell.org/ghc/docs/${PORTVERSION}/ \
|
2004-07-26 12:06:07 +00:00
|
|
|
http://www.haskell.org/ghc/docs/${PORTVERSION}/html/
|
2006-09-05 03:19:59 +00:00
|
|
|
PKGNAMESUFFIX= -doc
|
2005-09-12 10:19:16 +00:00
|
|
|
DISTFILES= Cabal.ps.gz Cabal.html.tar.gz building.ps.gz \
|
2007-01-23 18:11:10 +00:00
|
|
|
building.html.tar.gz \
|
|
|
|
libraries.html.tar.gz users_guide.html.tar.gz \
|
2003-03-08 11:58:45 +00:00
|
|
|
users_guide.ps.gz index.html
|
2005-09-12 10:19:16 +00:00
|
|
|
DIST_SUBDIR= ghc-${PORTVERSION}
|
2002-07-26 13:38:27 +00:00
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
2005-04-03 14:58:09 +00:00
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
2003-02-23 10:51:29 +00:00
|
|
|
COMMENT= Documentation (HTML, PS) for the Glasgow Haskell Compiler
|
2002-07-26 13:38:27 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2005-09-12 10:19:16 +00:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/ghc6
|
2006-09-05 03:19:59 +00:00
|
|
|
PORTDOCS= *
|
2002-07-26 13:38:27 +00:00
|
|
|
|
|
|
|
do-install:
|
2005-09-12 10:19:16 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2007-01-23 18:11:10 +00:00
|
|
|
.for FILE in Cabal.ps.gz building.ps.gz users_guide.ps.gz index.html
|
2002-07-26 13:38:27 +00:00
|
|
|
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} \
|
2005-09-12 10:19:16 +00:00
|
|
|
${DOCSDIR}
|
2002-07-26 13:38:27 +00:00
|
|
|
.endfor
|
2007-01-23 18:11:10 +00:00
|
|
|
.for FILE in Cabal.html.tar.gz building.html.tar.gz \
|
2002-07-26 13:38:27 +00:00
|
|
|
libraries.html.tar.gz users_guide.html.tar.gz
|
|
|
|
@${TAR} xfz ${DISTDIR}/${DIST_SUBDIR}/${FILE} \
|
2005-09-12 10:19:16 +00:00
|
|
|
-C ${DOCSDIR}
|
2002-07-26 13:38:27 +00:00
|
|
|
.endfor
|
2006-09-05 03:19:59 +00:00
|
|
|
@${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
|
|
|
|
@${FIND} ${DOCSDIR}/ -type f -exec ${CHOWN} ${SHAREOWN}:${SHAREGRP} {} \;
|
2002-07-26 13:38:27 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|