summaryrefslogtreecommitdiff
path: root/textproc/hs-texmath
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2011-05-09 05:28:57 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2011-05-09 05:28:57 +0000
commit0c76a8384fc1de4958eb1228befbee727f00c596 (patch)
tree28680b3da252da7f45a2d25108e4e2a6e41a77e5 /textproc/hs-texmath
parentupdate to 1.4.1 (diff)
- Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports are also updated to their corresponding Haskell Platform versions, or latest versions. We would like to acknowledge the support of the FreeBSD Donations Team and Eotvos Lorand University, Faculty of Informatics who contributed to the server that we used for testing. We would also like to thank all the testers who tested FreeBSD Haskell ports and provided their feedback. PR: ports/156642 Approved by: tabthorpe (mentor) Obtained from: FreeBSD Haskell
Notes
Notes: svn path=/head/; revision=273838
Diffstat (limited to 'textproc/hs-texmath')
-rw-r--r--textproc/hs-texmath/Makefile22
-rw-r--r--textproc/hs-texmath/distinfo5
-rw-r--r--textproc/hs-texmath/pkg-plist19
3 files changed, 8 insertions, 38 deletions
diff --git a/textproc/hs-texmath/Makefile b/textproc/hs-texmath/Makefile
index 260793b7f217..162a190c78e2 100644
--- a/textproc/hs-texmath/Makefile
+++ b/textproc/hs-texmath/Makefile
@@ -6,17 +6,18 @@
#
PORTNAME= texmath
-PORTVERSION= 0.3.0.2
+PORTVERSION= 0.5.0.1
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Conversion of LaTeX math formulas to MathML for Haskell
+LICENSE= GPLv2
+
CABAL_SETUP= Setup.hs
-USE_HACKAGE= xml utf8-string
+USE_CABAL= parsec>=2 syb xml
-OPTIONS= CGI "Compile CGI executable" off \
- TEST "Compile test executable" off
+OPTIONS= CGI "Compile CGI executable" off
PORTDATA= *
@@ -25,21 +26,10 @@ PORTDATA= *
.if defined(WITH_CGI)
CONFIGURE_ARGS+= --flags="cgi"
-USE_HACKAGE+= cgi json
+USE_CABAL+= cgi json utf8-string
EXECUTABLE+= texmath-cgi
-PLIST_SUB+= MAYBE_CGI=""
.else
CONFIGURE_ARGS+= --flags="-cgi"
-PLIST_SUB+= MAYBE_CGI="@comment "
-.endif
-
-.if defined(WITH_TEST)
-CONFIGURE_ARGS+= --flags="test"
-EXECUTABLE+= testTeXMathML
-PLIST_SUB+= MAYBE_TEST=""
-.else
-CONFIGURE_ARGS+= --flags="-test"
-PLIST_SUB+= MAYBE_TEST="@comment "
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/textproc/hs-texmath/distinfo b/textproc/hs-texmath/distinfo
index eb6ee03bc81c..3424c65e40e5 100644
--- a/textproc/hs-texmath/distinfo
+++ b/textproc/hs-texmath/distinfo
@@ -1,3 +1,2 @@
-MD5 (cabal/texmath-0.3.0.2.tar.gz) = 7748c1628eadf8ba3a26e0782df3dcfc
-SHA256 (cabal/texmath-0.3.0.2.tar.gz) = 8d2bb26fc5aab09ae92d2c194ec39acb4e04c054ad2caf1a1db0dc9b53b4b1d4
-SIZE (cabal/texmath-0.3.0.2.tar.gz) = 25370
+SHA256 (cabal/texmath-0.5.0.1.tar.gz) = bedd883728fbd84bf07c1d1c851440db6d8be6b9e221024533851cd7c21a824f
+SIZE (cabal/texmath-0.5.0.1.tar.gz) = 27958
diff --git a/textproc/hs-texmath/pkg-plist b/textproc/hs-texmath/pkg-plist
deleted file mode 100644
index 16bd4a0b1700..000000000000
--- a/textproc/hs-texmath/pkg-plist
+++ /dev/null
@@ -1,19 +0,0 @@
-@comment $FreeBSD$
-%%MAYBE_TEST%%bin/testTeXMathML
-%%MAYBE_CGI%%bin/texmath-cgi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/TeXMath.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/TeXMath/MathMLWriter.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/TeXMath/Parser.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
-%%LIBDIR_REL%%/register.sh
-%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
-%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text/TeXMath
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Text
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
-@dirrm %%LIBDIR_REL%%
-@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
-@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
-@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
-@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old