aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/hs-curl
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-05-16 03:14:33 +0800
committerpgj <pgj@FreeBSD.org>2010-05-16 03:14:33 +0800
commit9e20eba514d67b24a65aa36e7f98799679cc53a4 (patch)
treef37eab77890ccfaef301bf940351cccd80ef9e08 /ftp/hs-curl
parent401df9e0b3330d6fcac533f6c67d6fd2eaa87a3e (diff)
downloadfreebsd-ports-gnome-9e20eba514d67b24a65aa36e7f98799679cc53a4.tar.gz
freebsd-ports-gnome-9e20eba514d67b24a65aa36e7f98799679cc53a4.tar.zst
freebsd-ports-gnome-9e20eba514d67b24a65aa36e7f98799679cc53a4.zip
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
Diffstat (limited to 'ftp/hs-curl')
-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
4 files changed, 55 insertions, 0 deletions
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