aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2008-02-29 20:50:33 +0000
committerOliver Braun <obraun@FreeBSD.org>2008-02-29 20:50:33 +0000
commitf8ddf3463c2689035af7fe8b3a75479ce97e086b (patch)
tree8424679acee8019cc4b427a58349d9b36e6acf5d /print
parent7d0fb189daf4b4d0f376951e6fde4367f4a4b912 (diff)
downloadports-f8ddf3463c2689035af7fe8b3a75479ce97e086b.tar.gz
ports-f8ddf3463c2689035af7fe8b3a75479ce97e086b.zip
Notes
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 065b87543ca8..2e5bfad9c57d 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 000000000000..78adb4d13730
--- /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 000000000000..55a92fe29766
--- /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 000000000000..d45cdc2a3db1
--- /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 000000000000..15e2df9d6971
--- /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%%