aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-02-19 01:04:33 +0800
committerpgj <pgj@FreeBSD.org>2012-02-19 01:04:33 +0800
commit1699f1a79ec12c32465d7c3ba98265d6bf1d7f94 (patch)
tree5b13ce09ca9da096ff63b062c495493d823ec979
parentf0c8a669df0f20e0689edaa72efc79cb01ad08be (diff)
downloadfreebsd-ports-gnome-1699f1a79ec12c32465d7c3ba98265d6bf1d7f94.tar.gz
freebsd-ports-gnome-1699f1a79ec12c32465d7c3ba98265d6bf1d7f94.tar.zst
freebsd-ports-gnome-1699f1a79ec12c32465d7c3ba98265d6bf1d7f94.zip
Validating an email address string against RFC 5322.
WWW: http://porg.es/blog/email-address-validation-simpler-faster-more-correct Obtained from: FreeBSD Haskell
-rw-r--r--lang/ghc/bsd.hackage.mk1
-rw-r--r--mail/Makefile1
-rw-r--r--mail/hs-email-validate/Makefile20
-rw-r--r--mail/hs-email-validate/distinfo2
-rw-r--r--mail/hs-email-validate/pkg-descr3
5 files changed, 27 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 99ac78f0d55f..809555363407 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -87,6 +87,7 @@ directory-tree_port= devel/hs-directory-tree
distributive_port= math/hs-distributive
dlist_port= devel/hs-dlist
double-conversion_port= textproc/hs-double-conversion
+email-validate_port= mail/hs-email-validate
entropy_port= security/hs-entropy
enumerator_port= devel/hs-enumerator
epic_port= lang/hs-epic # executable
diff --git a/mail/Makefile b/mail/Makefile
index 00f0e233ad60..fb158a30a96d 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -194,6 +194,7 @@
SUBDIR += horde4-turba
SUBDIR += horde4-webmail
SUBDIR += hotwayd
+ SUBDIR += hs-email-validate
SUBDIR += hs-mime
SUBDIR += ifile
SUBDIR += ilohamail
diff --git a/mail/hs-email-validate/Makefile b/mail/hs-email-validate/Makefile
new file mode 100644
index 000000000000..a831639dc22c
--- /dev/null
+++ b/mail/hs-email-validate/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-email-validate
+# Date created: December 26, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= email-validate
+PORTVERSION= 0.2.7
+CATEGORIES= mail haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Validating an email address string against RFC 5322
+
+LICENSE= BSD
+
+USE_CABAL= parsec>=2.1 ranges>=0.2.2
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/mail/hs-email-validate/distinfo b/mail/hs-email-validate/distinfo
new file mode 100644
index 000000000000..11b96b11a720
--- /dev/null
+++ b/mail/hs-email-validate/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/email-validate-0.2.7.tar.gz) = 78542b6aff81e94663fd7105163a6f1232ccbbce1abd50860b83c07b52a8ea8f
+SIZE (cabal/email-validate-0.2.7.tar.gz) = 6038
diff --git a/mail/hs-email-validate/pkg-descr b/mail/hs-email-validate/pkg-descr
new file mode 100644
index 000000000000..54468d93b220
--- /dev/null
+++ b/mail/hs-email-validate/pkg-descr
@@ -0,0 +1,3 @@
+Validating an email address string against RFC 5322.
+
+WWW: http://porg.es/blog/email-address-validation-simpler-faster-more-correct