summaryrefslogtreecommitdiff
path: root/textproc/hs-HaXml/Makefile
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-06-01 06:54:48 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-06-01 06:54:48 +0000
commitb1403a842f1b1baf45129b09ccadad05ed23ee26 (patch)
tree3f2553b2277deb71eeb96ab0038bd44578a8db71 /textproc/hs-HaXml/Makefile
parentUpgrade to 0.71. (diff)
Upgrade to 1.09.
Notes
Notes: svn path=/head/; revision=81867
Diffstat (limited to 'textproc/hs-HaXml/Makefile')
-rw-r--r--textproc/hs-HaXml/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/textproc/hs-HaXml/Makefile b/textproc/hs-HaXml/Makefile
index eb4adbcdc18b..4ee0cec8c2e3 100644
--- a/textproc/hs-HaXml/Makefile
+++ b/textproc/hs-HaXml/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= haxml
-PORTVERSION= 1.08
+PORTVERSION= 1.09
PORTREVISION= 0
CATEGORIES= textproc haskell
MASTER_SITES= http://www.haskell.org/HaXml/ \
@@ -21,18 +21,18 @@ BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
RUN_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
.else
WITH_GHC= yes
-BUILD_DEPENDS= hmake:${PORTSDIR}/devel/hs-hmake
.endif
.if defined(WITH_GHC)
BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
.endif
+USE_REINPLACE= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= #empty
-CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --prefix=${PREFIX}/bin
.if !defined(WITHOUT_NHC98) && !defined(WITH_GHC)
CONFIGURE_ARGS+= --buildwith=nhc98
@@ -66,6 +66,9 @@ pre-everything::
.endif
@${ECHO_CMD} ""
+post-patch:
+ @${REINPLACE_CMD} -e 's,/bin/false,/usr/bin/false,' ${WRKSRC}/configure
+
post-install:
.if defined(WITH_GHC)
@${INSTALL_DATA} ${WRKSRC}/obj/ghc/pkg.conf \
@@ -75,6 +78,7 @@ post-install:
Canonicalise DtdToHaskell MkOneOf Validate Xtract ${PREFIX}/bin)
.if !defined(NOPORTDOCS)
@${RM} -rf ${WRKSRC}/docs/CVS
+ @${RM} -rf ${WRKSRC}/docs/HaXml/CVS
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} && ${CP} -R docs/* ${DOCSDIR})
.endif