aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-haddock-docs
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2009-06-05 12:15:11 +0000
committerGabor Pali <pgj@FreeBSD.org>2009-06-05 12:15:11 +0000
commit31354e4e409690a9d12993dcbccb459a73d0e94d (patch)
tree09dbf13f6e8eb50f05091d2aaf565395a92e329f /devel/hs-haddock-docs
parent3dca42aa929e7dfcd4ebbc1bb97cb17f85ef4880 (diff)
downloadports-31354e4e409690a9d12993dcbccb459a73d0e94d.tar.gz
ports-31354e4e409690a9d12993dcbccb459a73d0e94d.zip
- Respect custom PREFIX, LOCALBASE
- Bump port revision Reported by: QAT Approved by: gabor (mentor)
Notes
Notes: svn path=/head/; revision=235204
Diffstat (limited to 'devel/hs-haddock-docs')
-rw-r--r--devel/hs-haddock-docs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/hs-haddock-docs/Makefile b/devel/hs-haddock-docs/Makefile
index 80170a6c21d2..51df0fdf1719 100644
--- a/devel/hs-haddock-docs/Makefile
+++ b/devel/hs-haddock-docs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= haddock-docs
PORTVERSION= 2.1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel haskell
MASTER_SITES= http://www.haskell.org/haddock/dist/
PKGNAMEPREFIX= hs-
@@ -44,7 +44,9 @@ DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
.SILENT:
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local/share/sgml/catalog||' ${WRKSRC}/doc/configure.ac
+ @${REINPLACE_CMD} -e 's|/usr/local/share/sgml/catalog|| ; \
+ s|/usr/local/share/xsl/docbook|${LOCALBASE}/share/xsl/docbook|' \
+ ${WRKSRC}/doc/configure.ac
do-configure:
cd ${WRKSRC} && ${CABAL_CMD} configure --ghc --haddock-options=-w ${CONFIGURE_ARGS}