aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2008-03-01 04:50:33 +0800
committerobraun <obraun@FreeBSD.org>2008-03-01 04:50:33 +0800
commit792f29cd874659ac8f9df241417b249479cf1a7f (patch)
tree03b5d5ce700bdcc49ea128531a9ebd21fa37698e /print
parenta4383bb2fd5c0a62383436e3db49f6f2b0448497 (diff)
downloadfreebsd-ports-graphics-792f29cd874659ac8f9df241417b249479cf1a7f.tar.gz
freebsd-ports-graphics-792f29cd874659ac8f9df241417b249479cf1a7f.tar.zst
freebsd-ports-graphics-792f29cd874659ac8f9df241417b249479cf1a7f.zip
Hyperlinked documentation for the HsColour libraries.
This documentaion is generated by HsColour and haddock. PR: ports/120975 Submitted by: Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/hs-hscolour-docs/Makefile43
-rw-r--r--print/hs-hscolour-docs/distinfo3
-rw-r--r--print/hs-hscolour-docs/pkg-descr2
-rw-r--r--print/hs-hscolour-docs/pkg-plist60
5 files changed, 109 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 065b87543ca..2e5bfad9c57 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -115,6 +115,7 @@
SUBDIR += hpijs
SUBDIR += hplip
SUBDIR += hs-hscolour
+ SUBDIR += hs-hscolour-docs
SUBDIR += html2latex
SUBDIR += html2ps-a4
SUBDIR += html2ps-letter
diff --git a/print/hs-hscolour-docs/Makefile b/print/hs-hscolour-docs/Makefile
new file mode 100644
index 00000000000..78adb4d1373
--- /dev/null
+++ b/print/hs-hscolour-docs/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: hs-hscolour-docs
+# Date created: February 22 2008
+# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hscolour-docs
+PORTVERSION= 1.9
+CATEGORIES= print haskell
+MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/contrib/
+PKGNAMEPREFIX= hs-
+DISTNAME= hscolour-${PORTVERSION}
+
+MAINTAINER= jacula@gmail.com
+COMMENT= Documentation for HsColour
+
+BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
+ haddock:${PORTSDIR}/devel/hs-haddock \
+ HsColour:${PORTSDIR}/print/hs-hscolour
+
+HSCOLOUR_VERSION= ${PORTVERSION}
+
+CABAL_CMD= runghc Setup.hs
+
+DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
+PLIST_SUB= DOCSDIR_REL=${DOCSDIR_REL}
+
+.SILENT:
+
+do-configure:
+ cd ${WRKSRC} && ${CABAL_CMD} configure --ghc --prefix=${PREFIX}
+
+do-build:
+ cd ${WRKSRC} && ${CABAL_CMD} build && \
+ ${CABAL_CMD} haddock --executables --hyperlink-source \
+ --hscolour-css=${LOCALBASE}/share/hscolour-${HSCOLOUR_VERSION}/hscolour.css
+
+do-install:
+ ${MKDIR} ${DOCSDIR}/html
+ cd ${WRKSRC}/dist/doc/html/hscolour && ${CP} -R * ${DOCSDIR}/html
+
+.include <bsd.port.mk>
diff --git a/print/hs-hscolour-docs/distinfo b/print/hs-hscolour-docs/distinfo
new file mode 100644
index 00000000000..55a92fe2976
--- /dev/null
+++ b/print/hs-hscolour-docs/distinfo
@@ -0,0 +1,3 @@
+MD5 (hscolour-1.9.tar.gz) = badfe50d4215f23d0e17928b24f80773
+SHA256 (hscolour-1.9.tar.gz) = 9d961264fe86f7128673c624943062ea0af19b1c80e303fcdb6957cadc5ac774
+SIZE (hscolour-1.9.tar.gz) = 43119
diff --git a/print/hs-hscolour-docs/pkg-descr b/print/hs-hscolour-docs/pkg-descr
new file mode 100644
index 00000000000..d45cdc2a3db
--- /dev/null
+++ b/print/hs-hscolour-docs/pkg-descr
@@ -0,0 +1,2 @@
+Hyperlinked documentation for the HsColour libraries.
+This documentaion is generated by HsColour and haddock.
diff --git a/print/hs-hscolour-docs/pkg-plist b/print/hs-hscolour-docs/pkg-plist
new file mode 100644
index 00000000000..15e2df9d697
--- /dev/null
+++ b/print/hs-hscolour-docs/pkg-plist
@@ -0,0 +1,60 @@
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-ANSI.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-Anchors.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-CSS.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-Classify.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-ColourHighlight.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-Colourise.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-General.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-HTML.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-LaTeX.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-MIRC.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour-TTY.html
+%%DOCSDIR_REL%%/html/HsColour/Language-Haskell-HsColour.html
+%%DOCSDIR_REL%%/html/HsColour/Main.html
+%%DOCSDIR_REL%%/html/HsColour/doc-index.html
+%%DOCSDIR_REL%%/html/HsColour/haddock-util.js
+%%DOCSDIR_REL%%/html/HsColour/haddock.css
+%%DOCSDIR_REL%%/html/HsColour/haskell_icon.gif
+%%DOCSDIR_REL%%/html/HsColour/index.html
+%%DOCSDIR_REL%%/html/HsColour/minus.gif
+%%DOCSDIR_REL%%/html/HsColour/plus.gif
+%%DOCSDIR_REL%%/html/HsColour/src/Main.html
+%%DOCSDIR_REL%%/html/HsColour/src/hscolour.css
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-ANSI.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-Anchors.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-CSS.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-Classify.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-ColourHighlight.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-Colourise.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-General.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-HTML.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-LaTeX.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-MIRC.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour-TTY.html
+%%DOCSDIR_REL%%/html/Language-Haskell-HsColour.html
+%%DOCSDIR_REL%%/html/doc-index.html
+%%DOCSDIR_REL%%/html/haddock-util.js
+%%DOCSDIR_REL%%/html/haddock.css
+%%DOCSDIR_REL%%/html/haskell_icon.gif
+%%DOCSDIR_REL%%/html/hscolour.haddock
+%%DOCSDIR_REL%%/html/index.html
+%%DOCSDIR_REL%%/html/minus.gif
+%%DOCSDIR_REL%%/html/plus.gif
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-ANSI.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-Anchors.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-CSS.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-Classify.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-ColourHighlight.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-Colourise.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-General.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-HTML.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-LaTeX.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-MIRC.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour-TTY.html
+%%DOCSDIR_REL%%/html/src/Language-Haskell-HsColour.html
+%%DOCSDIR_REL%%/html/src/hscolour.css
+@dirrm %%DOCSDIR_REL%%/html/src
+@dirrm %%DOCSDIR_REL%%/html/HsColour/src
+@dirrm %%DOCSDIR_REL%%/html/HsColour
+@dirrm %%DOCSDIR_REL%%/html
+@dirrmtry %%DOCSDIR_REL%%