summaryrefslogtreecommitdiffstats
path: root/lang/ghc-doc/Makefile
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2002-07-26 13:38:27 +0000
committerolgeni <olgeni@FreeBSD.org>2002-07-26 13:38:27 +0000
commit24d4ffa48c0707731882de2b04359551f19859dc (patch)
tree3de5ad42c1f55b8cccd36fc2ac7c4f516a4729ba /lang/ghc-doc/Makefile
parent9891c61f8fbb8c2c3773501ac8181f03276db16d (diff)
downloadFreeBSD-ports-24d4ffa48c0707731882de2b04359551f19859dc.zip
FreeBSD-ports-24d4ffa48c0707731882de2b04359551f19859dc.tar.gz
Add html and postscript documentation for the Glasgow Haskell Compiler.
Diffstat (limited to 'lang/ghc-doc/Makefile')
-rw-r--r--lang/ghc-doc/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/lang/ghc-doc/Makefile b/lang/ghc-doc/Makefile
new file mode 100644
index 0000000..a9df3ad
--- /dev/null
+++ b/lang/ghc-doc/Makefile
@@ -0,0 +1,35 @@
+# Ports collection makefile for: ghc-doc
+# Date created: 26 Jul 2002
+# Whom: olgeni@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= ghc-doc
+PORTVERSION= 5.04
+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