aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2009-06-05 20:15:11 +0800
committerpgj <pgj@FreeBSD.org>2009-06-05 20:15:11 +0800
commitea27656531a9c2b9a1e6ffe72b8418e65460c5db (patch)
treeb17112a13b98cf11b462b556a5af7e78586841be
parent02b996c79ec73b24bfa6cc64ffa0b9acc803c38d (diff)
downloadfreebsd-ports-gnome-ea27656531a9c2b9a1e6ffe72b8418e65460c5db.tar.gz
freebsd-ports-gnome-ea27656531a9c2b9a1e6ffe72b8418e65460c5db.tar.zst
freebsd-ports-gnome-ea27656531a9c2b9a1e6ffe72b8418e65460c5db.zip
- Respect custom PREFIX, LOCALBASE
- Bump port revision Reported by: QAT Approved by: gabor (mentor)
-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}