summaryrefslogtreecommitdiffstats
path: root/www/neon28
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2000-10-26 01:04:55 +0000
committerjeh <jeh@FreeBSD.org>2000-10-26 01:04:55 +0000
commita679d8168bbbfa6eeb5f436f3f6b375d62a2b9cd (patch)
treedd9c1425b112b33ca9bc8aae0f489cb41c53986a /www/neon28
parentd88d19febfd864bb6ae6afe4fb2562f8484e2881 (diff)
downloadFreeBSD-ports-a679d8168bbbfa6eeb5f436f3f6b375d62a2b9cd.zip
FreeBSD-ports-a679d8168bbbfa6eeb5f436f3f6b375d62a2b9cd.tar.gz
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 <mi@aldan.algebra.com>
Diffstat (limited to 'www/neon28')
-rw-r--r--www/neon28/Makefile56
-rw-r--r--www/neon28/distinfo1
-rw-r--r--www/neon28/files/patch-aa8
-rw-r--r--www/neon28/pkg-comment1
-rw-r--r--www/neon28/pkg-descr19
-rw-r--r--www/neon28/pkg-plist28
6 files changed, 113 insertions, 0 deletions
diff --git a/www/neon28/Makefile b/www/neon28/Makefile
new file mode 100644
index 0000000..053a529
--- /dev/null
+++ b/www/neon28/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: neon
+# Date created: 13 October 2000
+# Whom: Mikhail Teterin <mi@aldan.algebra.com>
+#
+# $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 <bsd.port.mk>
diff --git a/www/neon28/distinfo b/www/neon28/distinfo
new file mode 100644
index 0000000..0baf64f
--- /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 0000000..2f76f67
--- /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 <uri.h>
+-#include <xalloc.h>
++#define xmalloc malloc
++#define xstrdup strdup
+
diff --git a/www/neon28/pkg-comment b/www/neon28/pkg-comment
new file mode 100644
index 0000000..a9b998a
--- /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 0000000..3f8647c
--- /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 0000000..9d7cc2a
--- /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
OpenPOWER on IntegriCloud