aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-haddock
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2008-01-12 17:49:08 +0000
committerOliver Braun <obraun@FreeBSD.org>2008-01-12 17:49:08 +0000
commit029730ace2e668503c6e0cdcafb2516fd41be3b0 (patch)
treeb7ef890c005fe278d70f0745d5a3408ecdf9a93d /devel/hs-haddock
parenta149f8a8e44fb8e1fb99b7135a672c309ff13517 (diff)
downloadports-029730ace2e668503c6e0cdcafb2516fd41be3b0.tar.gz
ports-029730ace2e668503c6e0cdcafb2516fd41be3b0.zip
Notes
Diffstat (limited to 'devel/hs-haddock')
-rw-r--r--devel/hs-haddock/Makefile6
-rw-r--r--devel/hs-haddock/distinfo6
-rw-r--r--devel/hs-haddock/pkg-plist12
3 files changed, 19 insertions, 5 deletions
diff --git a/devel/hs-haddock/Makefile b/devel/hs-haddock/Makefile
index 25a00b27f125..d2bed9ef0f51 100644
--- a/devel/hs-haddock/Makefile
+++ b/devel/hs-haddock/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= haddock
-PORTVERSION= 0.9
+PORTVERSION= 2.0.0.0
CATEGORIES= devel haskell
MASTER_SITES= http://www.haskell.org/haddock/dist/
PKGNAMEPREFIX= hs-
@@ -30,7 +30,9 @@ CONFIGURE_ARGS= --prefix=${PREFIX}
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:261:env
-PLIST_SUB+= HADDOCK_VERSION=${PORTVERSION}
+GHC_VERSION= 6.8.2
+
+PLIST_SUB+= HADDOCK_VERSION=${PORTVERSION} GHC_VERSION=${GHC_VERSION}
PORTDOCS= *
post-patch:
diff --git a/devel/hs-haddock/distinfo b/devel/hs-haddock/distinfo
index 3530cef4bc64..a346ce9a8335 100644
--- a/devel/hs-haddock/distinfo
+++ b/devel/hs-haddock/distinfo
@@ -1,3 +1,3 @@
-MD5 (haddock-0.9.tar.gz) = 8ba056279427231fd35c8ca2e690221d
-SHA256 (haddock-0.9.tar.gz) = beefd4a6da577978e7a79cabba60970accc5cd48fbb04c424a6b36ace3a9f8d0
-SIZE (haddock-0.9.tar.gz) = 163380
+MD5 (haddock-2.0.0.0.tar.gz) = ccd8b4a6f6b4fb084bdad02fbb215ca4
+SHA256 (haddock-2.0.0.0.tar.gz) = a2ea5bdc127bc8b189a8d869f582ec774fea0933e7f5ca89549a6c142b9993df
+SIZE (haddock-2.0.0.0.tar.gz) = 95311
diff --git a/devel/hs-haddock/pkg-plist b/devel/hs-haddock/pkg-plist
index 0eebec01ef00..cfe44902057e 100644
--- a/devel/hs-haddock/pkg-plist
+++ b/devel/hs-haddock/pkg-plist
@@ -1,4 +1,10 @@
bin/haddock
+lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Distribution/Haddock.hi
+lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/HShaddock-%%HADDOCK_VERSION%%.o
+lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Haddock/Exception.hi
+lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Haddock/InterfaceFile.hi
+lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Haddock/Types.hi
+lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/libHShaddock-%%HADDOCK_VERSION%%.a
share/doc/haddock-%%HADDOCK_VERSION%%/LICENSE
share/haddock-%%HADDOCK_VERSION%%/html/haddock-DEBUG.css
share/haddock-%%HADDOCK_VERSION%%/html/haddock-util.js
@@ -6,6 +12,12 @@ share/haddock-%%HADDOCK_VERSION%%/html/haddock.css
share/haddock-%%HADDOCK_VERSION%%/html/haskell_icon.gif
share/haddock-%%HADDOCK_VERSION%%/html/minus.gif
share/haddock-%%HADDOCK_VERSION%%/html/plus.gif
+@dirrm lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Haddock
+@dirrm lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%/Distribution
+@dirrm lib/haddock-%%HADDOCK_VERSION%%/ghc-%%GHC_VERSION%%
+@dirrm lib/haddock-%%HADDOCK_VERSION%%
@dirrm share/doc/haddock-%%HADDOCK_VERSION%%
@dirrm share/haddock-%%HADDOCK_VERSION%%/html
@dirrm share/haddock-%%HADDOCK_VERSION%%
+@exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old