1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Upgrade to 1.09.

This commit is contained in:
Oliver Braun 2003-06-01 06:54:48 +00:00
parent ec00420342
commit b1403a842f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81867
8 changed files with 22 additions and 32 deletions

View File

@ -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

View File

@ -1 +1 @@
MD5 (HaXml-1.08.tar.gz) = 71a0b1fbaa2323322318e4fa45bb65a3
MD5 (HaXml-1.09.tar.gz) = 552797144efccd6a1035572cc6078f4a

View File

@ -1,11 +0,0 @@
--- src/Text/XML/HaXml/Parse.hs.orig Wed Aug 14 12:08:48 2002
+++ src/Text/XML/HaXml/Parse.hs Sat Apr 12 10:31:06 2003
@@ -26,7 +26,7 @@
#if defined(__NHC__)
-import IOExtras (unsafePerformIO)
+import NHC.IOExtras (unsafePerformIO)
#endif
#if defined(__HBC__)
import UnsafePerformIO

View File

@ -16,6 +16,7 @@ bin/Xtract
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Pretty.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Types.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Validate.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Verbatim.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Wrappers.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Xml2Haskell.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml.hi
@ -36,6 +37,7 @@ bin/Xtract
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Pretty.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Types.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Validate.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Verbatim.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Wrappers.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Xml2Haskell.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Xtract/Combinators.hi
@ -61,6 +63,7 @@ bin/Xtract
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Pretty.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Types.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Validate.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Verbatim.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Wrappers.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Xml2Haskell.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Xtract.Combinators.html
@ -124,7 +127,6 @@ bin/Xtract
%%PORTDOCS%%share/doc/haxml/HaXml/haskell_icon.gif
%%PORTDOCS%%share/doc/haxml/HaXml/index.html
%%PORTDOCS%%share/doc/haxml/Haskell2Xml.html
%%PORTDOCS%%share/doc/haxml/LICENSE
%%PORTDOCS%%share/doc/haxml/Xml2Haskell.html
%%PORTDOCS%%share/doc/haxml/Xtract.html
%%PORTDOCS%%share/doc/haxml/brubeck.gif

View File

@ -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

View File

@ -1 +1 @@
MD5 (HaXml-1.08.tar.gz) = 71a0b1fbaa2323322318e4fa45bb65a3
MD5 (HaXml-1.09.tar.gz) = 552797144efccd6a1035572cc6078f4a

View File

@ -1,11 +0,0 @@
--- src/Text/XML/HaXml/Parse.hs.orig Wed Aug 14 12:08:48 2002
+++ src/Text/XML/HaXml/Parse.hs Sat Apr 12 10:31:06 2003
@@ -26,7 +26,7 @@
#if defined(__NHC__)
-import IOExtras (unsafePerformIO)
+import NHC.IOExtras (unsafePerformIO)
#endif
#if defined(__HBC__)
import UnsafePerformIO

View File

@ -16,6 +16,7 @@ bin/Xtract
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Pretty.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Types.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Validate.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Verbatim.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Wrappers.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Xml2Haskell.hi
%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml.hi
@ -36,6 +37,7 @@ bin/Xtract
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Pretty.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Types.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Validate.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Verbatim.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Wrappers.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Xml2Haskell.hi
%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Xtract/Combinators.hi
@ -61,6 +63,7 @@ bin/Xtract
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Pretty.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Types.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Validate.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Verbatim.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Wrappers.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Xml2Haskell.html
%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Xtract.Combinators.html
@ -124,7 +127,6 @@ bin/Xtract
%%PORTDOCS%%share/doc/haxml/HaXml/haskell_icon.gif
%%PORTDOCS%%share/doc/haxml/HaXml/index.html
%%PORTDOCS%%share/doc/haxml/Haskell2Xml.html
%%PORTDOCS%%share/doc/haxml/LICENSE
%%PORTDOCS%%share/doc/haxml/Xml2Haskell.html
%%PORTDOCS%%share/doc/haxml/Xtract.html
%%PORTDOCS%%share/doc/haxml/brubeck.gif