From a679d8168bbbfa6eeb5f436f3f6b375d62a2b9cd Mon Sep 17 00:00:00 2001 From: jeh Date: Thu, 26 Oct 2000 01:04:55 +0000 Subject: Add new port: www/neon This is an HTTP and WebDAV client library for Unix systems, with a C interface PR: 21958 Submitted by: Mikhail Teterin --- www/neon28/Makefile | 56 +++++++++++++++++++++++++++++++++++++++++++++++ www/neon28/distinfo | 1 + www/neon28/files/patch-aa | 8 +++++++ www/neon28/pkg-comment | 1 + www/neon28/pkg-descr | 19 ++++++++++++++++ www/neon28/pkg-plist | 28 ++++++++++++++++++++++++ 6 files changed, 113 insertions(+) create mode 100644 www/neon28/Makefile create mode 100644 www/neon28/distinfo create mode 100644 www/neon28/files/patch-aa create mode 100644 www/neon28/pkg-comment create mode 100644 www/neon28/pkg-descr create mode 100644 www/neon28/pkg-plist (limited to 'www/neon28') diff --git a/www/neon28/Makefile b/www/neon28/Makefile new file mode 100644 index 000000000000..053a529e7686 --- /dev/null +++ b/www/neon28/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: neon +# Date created: 13 October 2000 +# Whom: Mikhail Teterin +# +# $FreeBSD$ +# + +PORTNAME= neon +PORTVERSION= 0.7.5 +CATEGORIES= www +MASTER_SITES= http://www.webdav.org/neon/ + +MAINTAINER= mi@aldan.algebra.com + +LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat \ + xml:${PORTSDIR}/textproc/libxml + +.ifndef NO_OPENSSL +USE_OPENSSL= yes +.endif + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} --with-expat=${PREFIX}/include/xml \ + --with-extra-libs=${PREFIX}/lib + +ALL_TARGET= all examples +INSTALL_TARGET= install install-examples + +.ifdef WITH_NBROWSE +LIB_DEPENDS+= glade:${PORTSDIR}/devel/libglade +CONFIGURE_ARGS+=--with-libglade-config=${PREFIX}/bin/libglade-config \ + --with-gnome=${X11BASE} \ + --enable-gnome-examples +CONFIGURE_ENV+= GTK_CONFIG="${X11BASE}/bin/gtk12-config" +ALL_TARGET+= nbrowse +PLIST_SUB+= GUI='' +.else +PLIST_SUB+= GUI='@comment ' + +post-extract: + # You can also build a GUI-sample application by doing: + # make -DWITH_NBROWSE + # It is disabled by default, because the author thinks + # it is BUGGY and because it requires libglade and GNOME. +.endif + +.ifndef NOPORTDOCS +post-install: + ${MKDIR} ${PREFIX}/share/doc/neon + ${INSTALL_DATA} ${WRKSRC}/doc/using-neon.txt ${PREFIX}/share/doc/neon +PLIST_SUB+= DOCS='' +.else +PLIST_SUB+= DOCS='@comment ' +.endif + +.include diff --git a/www/neon28/distinfo b/www/neon28/distinfo new file mode 100644 index 000000000000..0baf64fea757 --- /dev/null +++ b/www/neon28/distinfo @@ -0,0 +1 @@ +MD5 (neon-0.7.5.tar.gz) = e4a6e97403fee476f2416cb7aeb0be26 diff --git a/www/neon28/files/patch-aa b/www/neon28/files/patch-aa new file mode 100644 index 000000000000..2f76f67a5ac1 --- /dev/null +++ b/www/neon28/files/patch-aa @@ -0,0 +1,8 @@ +--- example/nbrowse/main.c Sun Jul 16 15:58:00 2000 ++++ example/nbrowse/main.c Fri Oct 13 10:32:01 2000 +@@ -50,3 +50,4 @@ + #include +-#include ++#define xmalloc malloc ++#define xstrdup strdup + diff --git a/www/neon28/pkg-comment b/www/neon28/pkg-comment new file mode 100644 index 000000000000..a9b998a6928a --- /dev/null +++ b/www/neon28/pkg-comment @@ -0,0 +1 @@ +an HTTP and WebDAV client library for Unix systems, with a C interface diff --git a/www/neon28/pkg-descr b/www/neon28/pkg-descr new file mode 100644 index 000000000000..3f8647c6bcf3 --- /dev/null +++ b/www/neon28/pkg-descr @@ -0,0 +1,19 @@ +Neon is an HTTP and WebDAV client library for Unix systems, with a C +interface. Featuring: + + . High-level interface to HTTP and WebDAV methods + (PUT, GET, HEAD etc) + . Low-level interface to HTTP request handling, to allow + implementing new methods easily. + . HTTP/1.1 and HTTP/1.0 persistent connections + . RFC2617 basic and digest authentication + (including auth-int, md5-sess) + . Proxy support (including basic/digest authentication) + . Generic WebDAV 207 XML response handling mechanism + . XML parsing using the expat or libxml parsers + . Easy generation of error messages from 207 error responses + . WebDAV resource manipulation: MOVE, COPY, DELETE, MKCOL + . WebDAV metadata support: set and remove properties, query + any set of properties (PROPPATCH/PROPFIND). + +WWW: http://www.webdav.org/neon/ diff --git a/www/neon28/pkg-plist b/www/neon28/pkg-plist new file mode 100644 index 000000000000..9d7cc2a2d72b --- /dev/null +++ b/www/neon28/pkg-plist @@ -0,0 +1,28 @@ +bin/neon-config +bin/nget +bin/nserver +%%GUI%%bin/nbrowse +lib/libneon.so.7 +lib/libneon.so +lib/libneon.a +include/neon/http_request.h +include/neon/http_utils.h +include/neon/uri.h +include/neon/nsocket.h +include/neon/http_basic.h +include/neon/dav_basic.h +include/neon/dav_207.h +include/neon/dav_props.h +include/neon/hip_xml.h +include/neon/dates.h +include/neon/string_utils.h +include/neon/http_cookies.h +include/neon/neon_defs.h +include/neon/neon_config.h +include/neon/dav_locks.h +include/neon/ne_alloc.h +include/neon/neon_md5.h +include/neon/neon_i18n.h +%%DOCS%%share/doc/neon/using-neon.txt +%%DOCS%%@dirrm share/doc/neon +@dirrm include/neon -- cgit