aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/hs-hscolour/Makefile10
2 files changed, 9 insertions, 2 deletions
diff --git a/print/Makefile b/print/Makefile
index 19a31e665ae0..3eb9cbdcb54d 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -113,7 +113,6 @@
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/Makefile b/print/hs-hscolour/Makefile
index 7604e072dfa2..ac12392f2ddd 100644
--- a/print/hs-hscolour/Makefile
+++ b/print/hs-hscolour/Makefile
@@ -7,7 +7,7 @@
PORTNAME= hscolour
PORTVERSION= 1.19
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= print haskell
@@ -21,5 +21,13 @@ CABAL_SETUP= Setup.hs
EXECUTABLE= HsColour
+.if defined(WITH_HSCOLOUR_DOCS)
+pre-everything::
+ @${ECHO_MSG} "================================================================="
+ @${ECHO_MSG} " Please note that you will not be able to build HsColour-enabled "
+ @${ECHO_MSG} " documentation without installing HsColour without that first. "
+ @${ECHO_MSG} "================================================================="
+.endif
+
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>