aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-09-04 18:39:09 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-09-04 18:39:09 +0000
commite8cd55cc7d4d597772395188a1bdf5f4cf00d93c (patch)
treebd0a795fe4755b1baebc7f362da20b689d535677 /textproc
parenta8b9ee2372cdb4479b7b219b505278450ea62768 (diff)
downloadports-e8cd55cc7d4d597772395188a1bdf5f4cf00d93c.tar.gz
ports-e8cd55cc7d4d597772395188a1bdf5f4cf00d93c.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile2
-rw-r--r--textproc/haxml/Makefile80
-rw-r--r--textproc/haxml/distinfo1
-rw-r--r--textproc/haxml/pkg-comment1
-rw-r--r--textproc/haxml/pkg-descr8
-rw-r--r--textproc/haxml/pkg-plist154
-rw-r--r--textproc/hs-HaXml/Makefile3
-rw-r--r--textproc/hs-haxml/Makefile3
8 files changed, 5 insertions, 247 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index e3a3fb1cdbee..ab3a1190d78c 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -77,8 +77,8 @@
SUBDIR += gutenmark
SUBDIR += gxditview
SUBDIR += gxmlviewer
- SUBDIR += haxml
SUBDIR += hevea
+ SUBDIR += hs-haxml
SUBDIR += htdig
SUBDIR += html
SUBDIR += html2fo
diff --git a/textproc/haxml/Makefile b/textproc/haxml/Makefile
deleted file mode 100644
index c090f4157453..000000000000
--- a/textproc/haxml/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-# New ports collection makefile for: HaXml
-# Date created: 01 June 2002
-# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
-#
-# $FreeBSD$
-
-PORTNAME= haxml
-PORTVERSION= 1.07b
-PORTREVISION= 0
-CATEGORIES= textproc
-MASTER_SITES= http://www.haskell.org/HaXml/ \
- ftp://ftp.cs.york.ac.uk/pub/haskell/HaXml/
-DISTNAME= HaXml-${PORTVERSION}
-
-MAINTAINER= obraun@FreeBSD.org
-
-.if !defined(WITHOUT_NHC98)
-BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
-RUN_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
-.else
-WITH_GHC= yes
-BUILD_DEPENDS= hmake:${PORTSDIR}/devel/hmake
-.endif
-.if defined(WITH_GHC)
-BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
-RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
-.endif
-
-HAS_CONFIGURE= yes
-USE_GMAKE= yes
-ALL_TARGET= #empty
-
-CONFIGURE_ARGS+= --prefix=${PREFIX}
-
-.if !defined(WITHOUT_NHC98) && !defined(WITH_GHC)
-CONFIGURE_ARGS+= --buildwith=nhc98
-.elif defined(WITHOUT_NHC98)
-CONFIGURE_ARGS+= --buildwith=ghc
-.endif
-
-.if !defined(WITHOUT_NHC98)
-PLIST_SUB+= NHC98=""
-.else
-PLIST_SUB+= NHC98="@comment "
-.endif
-.if defined(WITH_GHC)
-GHC_VERSION= `${PREFIX}/bin/ghc --version 2>&1 | \
- ${SED} 's/^.*version[ ]*\([0-9.]*\).*/\1/'`
-PLIST_SUB+= GHC="" GHC_VERSION="${GHC_VERSION}"
-.else
-PLIST_SUB+= GHC="@comment "
-.endif
-
-pre-everything:
- @${ECHO_CMD} ""
-.if defined(WITH_GHC) && !defined(WITHOUT_NHC98)
- @${ECHO_CMD} " HaXml will be installed for both nhc98 and ghc.
-.elif defined(WITHOUT_NHC98)
- @${ECHO_CMD} " HaXml will be installed for ghc only."
-.else
- @${ECHO_CMD} " HaXml will be installed for nhc98 only."
- @${ECHO_CMD} " Define WITH_GHC to install for ghc, too."
- @${ECHO_CMD} " Define WITHOUT_NHC98 to install for ghc only."
-.endif
- @${ECHO_CMD} ""
-
-post-install:
-.if defined(WITH_GHC)
- @${INSTALL_DATA} ${WRKSRC}/obj/ghc/pkg.conf \
- ${PREFIX}/lib/ghc-${GHC_VERSION}/imports/HaXml/
-.endif
- @(cd ${WRKSRC} && ${INSTALL_PROGRAM} \
- Canonicalise DtdToHaskell MkOneOf Validate Xtract ${PREFIX}/bin)
-.if !defined(NOPORTDOCS)
- @${RM} -rf ${WRKSRC}/docs/CVS
- @${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC} && ${CP} -R docs/* ${DOCSDIR})
-.endif
-
-.include <bsd.port.mk>
diff --git a/textproc/haxml/distinfo b/textproc/haxml/distinfo
deleted file mode 100644
index 540b8d5413bd..000000000000
--- a/textproc/haxml/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (HaXml-1.07b.tar.gz) = 6c416bee3bdbbe272424d0bcc97fc21a
diff --git a/textproc/haxml/pkg-comment b/textproc/haxml/pkg-comment
deleted file mode 100644
index 6702cd978164..000000000000
--- a/textproc/haxml/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-A collection of utilities for using Haskell and XML together
diff --git a/textproc/haxml/pkg-descr b/textproc/haxml/pkg-descr
deleted file mode 100644
index b878e2e6ff0a..000000000000
--- a/textproc/haxml/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-HaXml is a collection of utilities for using Haskell and XML together. It
-includes a parser for XML, a separate error-correcting parser for HTML, and
-pretty-printers for XML and HTML.
-
-WWW: http://www.haskell.org/HaXml/
-
--- Oliver Braun
-obraun@informatik.unibw-muenchen.de
diff --git a/textproc/haxml/pkg-plist b/textproc/haxml/pkg-plist
deleted file mode 100644
index 9b31e486badf..000000000000
--- a/textproc/haxml/pkg-plist
+++ /dev/null
@@ -1,154 +0,0 @@
-bin/Canonicalise
-bin/DtdToHaskell
-bin/MkOneOf
-bin/Validate
-bin/Xtract
-%%NHC98%%include/nhc98/HaXml/Text/ParserCombinators/HuttonMeijerWallace.hi
-%%NHC98%%include/nhc98/HaXml/Text/PrettyPrint/HughesPJ.hi
-%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Combinators.hi
-%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Haskell2Xml.hi
-%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Html/Generate.hi
-%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Html/Parse.hi
-%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Lex.hi
-%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/OneOfN.hi
-%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Parse.hi
-%%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/Wrappers.hi
-%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml/Xml2Haskell.hi
-%%NHC98%%include/nhc98/HaXml/Text/XML/HaXml.hi
-%%NHC98%%lib/nhc98/ix86-FreeBSD/libHSHaXml.a
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/pkg.conf
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/ParserCombinators/HuttonMeijerWallace.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/PrettyPrint/HughesPJ.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Combinators.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/DtdToHaskell/Convert.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/DtdToHaskell/Instance.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/DtdToHaskell/TypeDef.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Haskell2Xml.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Html/Generate.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Html/Parse.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Lex.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/OneOfN.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Parse.hi
-%%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/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
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Xtract/Lex.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Xtract/Parse.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml.hi
-%%GHC%%lib/ghc-%%GHC_VERSION%%/HSHaXml.o
-%%GHC%%lib/ghc-%%GHC_VERSION%%/libHSHaXml.a
-%%PORTDOCS%%share/doc/haxml/Combinators.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.ParserCombinators.HuttonMeijerWallace.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.PrettyPrint.HughesPJ.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Combinators.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.DtdToHaskell.Convert.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.DtdToHaskell.Instance.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.DtdToHaskell.TypeDef.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Haskell2Xml.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Html.Generate.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Html.Parse.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Html.Pretty.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Lex.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.OneOfN.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Parse.html
-%%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.Wrappers.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Xml2Haskell.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Xtract.Combinators.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Xtract.Lex.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.Xtract.Parse.html
-%%PORTDOCS%%share/doc/haxml/HaXml/Text.XML.HaXml.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tA.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tB.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tC.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tD.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tE.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tF.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tG.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tH.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tI.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tJ.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tK.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tL.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tM.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tN.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tO.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tP.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tQ.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tR.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tS.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tT.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tU.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tV.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tW.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tX.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tY.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-tZ.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vA.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vB.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vC.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vD.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vE.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vF.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vG.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vH.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vI.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vJ.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vK.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vL.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vM.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vN.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vO.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vP.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vQ.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vR.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vS.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vT.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vU.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vV.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vW.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vX.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vY.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index-vZ.html
-%%PORTDOCS%%share/doc/haxml/HaXml/doc-index.html
-%%PORTDOCS%%share/doc/haxml/HaXml/haddock.css
-%%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
-%%PORTDOCS%%share/doc/haxml/changelog.html
-%%PORTDOCS%%share/doc/haxml/icfp99.dvi
-%%PORTDOCS%%share/doc/haxml/icfp99.html
-%%PORTDOCS%%share/doc/haxml/icfp99.ps.gz
-%%PORTDOCS%%share/doc/haxml/index.html
-%%NHC98%%@dirrm include/nhc98/HaXml/Text/ParserCombinators
-%%NHC98%%@dirrm include/nhc98/HaXml/Text/PrettyPrint
-%%NHC98%%@dirrm include/nhc98/HaXml/Text/XML/HaXml/Html
-%%NHC98%%@dirrm include/nhc98/HaXml/Text/XML/HaXml
-%%NHC98%%@dirrm include/nhc98/HaXml/Text/XML
-%%NHC98%%@dirrm include/nhc98/HaXml/Text
-%%NHC98%%@dirrm include/nhc98/HaXml
-%%GHC%%@dirrm lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/ParserCombinators
-%%GHC%%@dirrm lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/PrettyPrint
-%%GHC%%@dirrm lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/DtdToHaskell
-%%GHC%%@dirrm lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Html
-%%GHC%%@dirrm lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml/Xtract
-%%GHC%%@dirrm lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML/HaXml
-%%GHC%%@dirrm lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text/XML
-%%GHC%%@dirrm lib/ghc-%%GHC_VERSION%%/imports/HaXml/Text
-%%GHC%%@dirrm lib/ghc-%%GHC_VERSION%%/imports/HaXml
-%%PORTDOCS%%@dirrm share/doc/haxml/HaXml
-%%PORTDOCS%%@dirrm share/doc/haxml
-%%GHC%%@exec %D/bin/ghc-pkg -a < %D/lib/ghc-%%GHC_VERSION%%/imports/HaXml/pkg.conf
-%%GHC%%@unexec %D/bin/ghc-pkg -r HaXml
diff --git a/textproc/hs-HaXml/Makefile b/textproc/hs-HaXml/Makefile
index c090f4157453..3b66e0b9bcb6 100644
--- a/textproc/hs-HaXml/Makefile
+++ b/textproc/hs-HaXml/Makefile
@@ -11,6 +11,7 @@ CATEGORIES= textproc
MASTER_SITES= http://www.haskell.org/HaXml/ \
ftp://ftp.cs.york.ac.uk/pub/haskell/HaXml/
DISTNAME= HaXml-${PORTVERSION}
+PKGNAMEPREFIX= hs-
MAINTAINER= obraun@FreeBSD.org
@@ -19,7 +20,7 @@ BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
RUN_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
.else
WITH_GHC= yes
-BUILD_DEPENDS= hmake:${PORTSDIR}/devel/hmake
+BUILD_DEPENDS= hmake:${PORTSDIR}/devel/hs-hmake
.endif
.if defined(WITH_GHC)
BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
diff --git a/textproc/hs-haxml/Makefile b/textproc/hs-haxml/Makefile
index c090f4157453..3b66e0b9bcb6 100644
--- a/textproc/hs-haxml/Makefile
+++ b/textproc/hs-haxml/Makefile
@@ -11,6 +11,7 @@ CATEGORIES= textproc
MASTER_SITES= http://www.haskell.org/HaXml/ \
ftp://ftp.cs.york.ac.uk/pub/haskell/HaXml/
DISTNAME= HaXml-${PORTVERSION}
+PKGNAMEPREFIX= hs-
MAINTAINER= obraun@FreeBSD.org
@@ -19,7 +20,7 @@ BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
RUN_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
.else
WITH_GHC= yes
-BUILD_DEPENDS= hmake:${PORTSDIR}/devel/hmake
+BUILD_DEPENDS= hmake:${PORTSDIR}/devel/hs-hmake
.endif
.if defined(WITH_GHC)
BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc