aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2010-05-15 19:14:33 +0000
committerGabor Pali <pgj@FreeBSD.org>2010-05-15 19:14:33 +0000
commitcb49698f139d71366f3171c3df77ae94eaf301b3 (patch)
tree56f8b00560a90fd8e814196f48cffdd157e73012 /ftp
parent46cf366a7028aad7b9c835f37fc2417c9669f341 (diff)
downloadports-cb49698f139d71366f3171c3df77ae94eaf301b3.tar.gz
ports-cb49698f139d71366f3171c3df77ae94eaf301b3.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/hs-curl/Makefile20
-rw-r--r--ftp/hs-curl/distinfo3
-rw-r--r--ftp/hs-curl/pkg-descr10
-rw-r--r--ftp/hs-curl/pkg-plist22
5 files changed, 56 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index ffd5637a72aa..9f171a1df141 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -42,6 +42,7 @@
SUBDIR += gproftpd
SUBDIR += gwget
SUBDIR += horde-gollem
+ SUBDIR += hs-curl
SUBDIR += hsftp
SUBDIR += jftp
SUBDIR += jftpgw
diff --git a/ftp/hs-curl/Makefile b/ftp/hs-curl/Makefile
new file mode 100644
index 000000000000..e98ebc4b23e3
--- /dev/null
+++ b/ftp/hs-curl/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-curl
+# Date created: May 14, 2010
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= curl
+PORTVERSION= 1.3.5
+CATEGORIES= ftp haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Haskell binding to libcurl
+
+CABAL_SETUP= Setup.hs
+
+LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/ftp/hs-curl/distinfo b/ftp/hs-curl/distinfo
new file mode 100644
index 000000000000..e1d5312d41bf
--- /dev/null
+++ b/ftp/hs-curl/distinfo
@@ -0,0 +1,3 @@
+MD5 (curl-1.3.5.tar.gz) = 0b08065ca25cead1e2b374958dc69818
+SHA256 (curl-1.3.5.tar.gz) = 351fce6db46b14949de615b181d654712158bdcf9603601e1a90c9d786a6d67c
+SIZE (curl-1.3.5.tar.gz) = 47734
diff --git a/ftp/hs-curl/pkg-descr b/ftp/hs-curl/pkg-descr
new file mode 100644
index 000000000000..0e7e355e64e2
--- /dev/null
+++ b/ftp/hs-curl/pkg-descr
@@ -0,0 +1,10 @@
+libcurl is a client-side URL transfer library, supporting FTP, FTPS,
+HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE.
+libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading,
+HTTP form based upload, proxies, cookies, user+password authentication
+(Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http
+proxy tunneling and more!
+
+This package provides a Haskell binding to libcurl.
+
+WWW: http://hackage.haskell.org/package/curl
diff --git a/ftp/hs-curl/pkg-plist b/ftp/hs-curl/pkg-plist
new file mode 100644
index 000000000000..3a7a30eddf6f
--- /dev/null
+++ b/ftp/hs-curl/pkg-plist
@@ -0,0 +1,22 @@
+@comment $FreeBSD$
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Curl.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Curl/Code.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Curl/Debug.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Curl/Easy.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Curl/Info.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Curl/Opts.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Curl/Post.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/Curl/Types.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%%/Network/Curl
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network
+@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