aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/hs-xmonad-contrib/Makefile
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2009-01-30 23:14:17 +0800
committerpgj <pgj@FreeBSD.org>2009-01-30 23:14:17 +0800
commit22c7866a80cec64398c9fd9360cb5ebc980ebe1e (patch)
tree65c361c82eb7ca0e26137d75c3013ec8e3061c19 /x11-wm/hs-xmonad-contrib/Makefile
parent1184a130b2cf208b689690e22ab92e35dbed0461 (diff)
downloadfreebsd-ports-gnome-22c7866a80cec64398c9fd9360cb5ebc980ebe1e.tar.gz
freebsd-ports-gnome-22c7866a80cec64398c9fd9360cb5ebc980ebe1e.tar.zst
freebsd-ports-gnome-22c7866a80cec64398c9fd9360cb5ebc980ebe1e.zip
- Update to 0.8.1
- Improve PORTDOCS PR: ports/131137 Submitted by: pgj Approved by: maintainer, tabthorpe
Diffstat (limited to 'x11-wm/hs-xmonad-contrib/Makefile')
-rw-r--r--x11-wm/hs-xmonad-contrib/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11-wm/hs-xmonad-contrib/Makefile b/x11-wm/hs-xmonad-contrib/Makefile
index d03763bdbdc6..83ccf331ae33 100644
--- a/x11-wm/hs-xmonad-contrib/Makefile
+++ b/x11-wm/hs-xmonad-contrib/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xmonad-contrib
-PORTVERSION= 0.8
+PORTVERSION= 0.8.1
CATEGORIES= x11-wm haskell
MASTER_SITES= http://hackage.haskell.org/packages/archive/xmonad-contrib/${PORTVERSION}/
@@ -25,12 +25,16 @@ CABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs
GHC_VERSION= 6.8.3
SUBDIR= lib/${PORTNAME}-${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
+PORTDOCS= LICENSE html
PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
PORTVERSION=${PORTVERSION} \
SUBDIR=${SUBDIR}
-.ifndef (NOPORTDOCS)
+.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
+.else
+PLIST_DIRS+= %%DOCSDIR%%
+PLIST_FILES+= %%DOCSDIR%%/LICENSE
.endif
do-configure:
@@ -38,7 +42,7 @@ do-configure:
do-build:
cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} register --gen-script
-.ifndef (NOPORTDOCS)
+.if !defined(NOPORTDOCS)
cd ${WRKSRC} && ${CABALCMD} haddock
.endif