aboutsummaryrefslogtreecommitdiff
path: root/mail/hs-mime
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 /mail/hs-mime
parentf2febc81eeab0d296325ecc49e1825762e5cd5d7 (diff)
downloadports-0c76a8384fc1de4958eb1228befbee727f00c596.tar.gz
ports-0c76a8384fc1de4958eb1228befbee727f00c596.zip
Notes
Diffstat (limited to 'mail/hs-mime')
-rw-r--r--mail/hs-mime/Makefile3
-rw-r--r--mail/hs-mime/distinfo1
-rw-r--r--mail/hs-mime/files/patch-mime.cabal11
-rw-r--r--mail/hs-mime/pkg-plist20
4 files changed, 14 insertions, 21 deletions
diff --git a/mail/hs-mime/Makefile b/mail/hs-mime/Makefile
index e31e3df8ece9..b85bba948188 100644
--- a/mail/hs-mime/Makefile
+++ b/mail/hs-mime/Makefile
@@ -7,11 +7,14 @@
PORTNAME= mime
PORTVERSION= 0.3.2
+PORTREVISION= 1
CATEGORIES= mail haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Haskell library for working with MIME types
+LICENSE= BSD
+
CABAL_SETUP= Setup.hs
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/mail/hs-mime/distinfo b/mail/hs-mime/distinfo
index e0e23d22996b..31db47873ea7 100644
--- a/mail/hs-mime/distinfo
+++ b/mail/hs-mime/distinfo
@@ -1,3 +1,2 @@
-MD5 (cabal/mime-0.3.2.tar.gz) = ced0701b92c375296dcf30214797951d
SHA256 (cabal/mime-0.3.2.tar.gz) = 39a80fd4d84c8017e78183ff17f8a436ad772bd21816a1ecffe903916a05c413
SIZE (cabal/mime-0.3.2.tar.gz) = 8899
diff --git a/mail/hs-mime/files/patch-mime.cabal b/mail/hs-mime/files/patch-mime.cabal
new file mode 100644
index 000000000000..025cbafa6fee
--- /dev/null
+++ b/mail/hs-mime/files/patch-mime.cabal
@@ -0,0 +1,11 @@
+--- ./mime.cabal.orig 2009-12-21 07:52:20.000000000 +0100
++++ ./mime.cabal 2011-03-13 15:20:32.890642014 +0100
+@@ -16,7 +16,7 @@
+
+ library
+ if flag(split-base)
+- build-depends: base >= 3 && <= 4
++ build-depends: base >= 3
+ else
+ build-depends: base >= 2 && <= 4
+
diff --git a/mail/hs-mime/pkg-plist b/mail/hs-mime/pkg-plist
deleted file mode 100644
index f3723d8d851a..000000000000
--- a/mail/hs-mime/pkg-plist
+++ /dev/null
@@ -1,20 +0,0 @@
-@comment $FreeBSD$
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/MIME/Base64.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/MIME/Decode.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/MIME/Parse.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/MIME/QuotedPrintable.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/MIME/Type.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec/MIME/Utils.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
-%%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%%/Codec/MIME
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Codec
-@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