diff options
author | jaapb <jaapb> | 2012-09-16 12:38:44 +0000 |
---|---|---|
committer | jaapb <jaapb> | 2012-09-16 12:38:44 +0000 |
commit | 93ffd5ea29a24ee1b702c9846f414b712a2b696c (patch) | |
tree | f52d2f05c68adfc343b8d17bf955e5bfc55bcce0 /www/ocaml-curl/Makefile | |
parent | f5306b3097da09915db5be865f6540786a62ae86 (diff) | |
download | pkgsrc-93ffd5ea29a24ee1b702c9846f414b712a2b696c.tar.gz |
Imported ocurl 0.5.3 as www/ocaml-curl. Packaged by Rich Neswold, committed
with some corrections. This closes PR pkg/43601.
This package provides OCaml bindings to the CURL HTTP-client library.
Diffstat (limited to 'www/ocaml-curl/Makefile')
-rw-r--r-- | www/ocaml-curl/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/www/ocaml-curl/Makefile b/www/ocaml-curl/Makefile new file mode 100644 index 00000000000..4774a7344d6 --- /dev/null +++ b/www/ocaml-curl/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1 2012/09/16 12:38:44 jaapb Exp $ +# + +DISTNAME= ocurl-0.5.3 +PKGNAME= ocaml-curl-0.5.3 +EXTRACT_SUFX= .tgz +CATEGORIES= www net devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ocurl/} + +MAINTAINER= rich.neswold@gmail.com +HOMEPAGE= http://sourceforge.net/projects/ocurl/ +COMMENT= OCaml bindings to the CURL library +LICENSE= mit + +PKG_DESTDIR_SUPPORT= user-destdir + +MAKE_JOBS_SAFE= no + +DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib + +USE_TOOLS= gmake +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-findlib + +.include "../../mk/bsd.prefs.mk" + +PLIST_VARS+= opt +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ + (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") +PLIST.opt= yes +.endif + +WRKSRC= ${WRKDIR}/ocurl +USE_LANGUAGES= c + +INSTALLATION_DIRS+= lib/ocaml/site-lib + +.include "../../lang/ocaml/buildlink3.mk" +.include "../../www/curl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |