summaryrefslogtreecommitdiff
path: root/www/neon
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-01-13 19:29:02 +0000
committeragc <agc@pkgsrc.org>2002-01-13 19:29:02 +0000
commitb346213a44b1e0d8ece25cc67936a4af4a89b036 (patch)
tree32286a470246fcf280d41c80703dbc171e146f24 /www/neon
parente2ee1971dd067cf04131649b4bd9f0824453f81f (diff)
downloadpkgsrc-b346213a44b1e0d8ece25cc67936a4af4a89b036.tar.gz
Initial import of neon-0.18.3 into the NetBSD Packages Collection.
neon is an HTTP and WebDAV client library. It provides lower-level interfaces which directly implement new HTTP methods, and higher-level interfaces so that you don't have to worry about the lower-level stuff. Provided in PR 15222 by "Eric Gillespie, Jr." <epg@pretzelnet.org>. The only modification was to use pkgsrc's libtool.
Diffstat (limited to 'www/neon')
-rw-r--r--www/neon/DESCR4
-rw-r--r--www/neon/Makefile25
-rw-r--r--www/neon/PLIST29
-rw-r--r--www/neon/buildlink.mk51
-rw-r--r--www/neon/distinfo4
5 files changed, 113 insertions, 0 deletions
diff --git a/www/neon/DESCR b/www/neon/DESCR
new file mode 100644
index 00000000000..31aad088b68
--- /dev/null
+++ b/www/neon/DESCR
@@ -0,0 +1,4 @@
+neon is an HTTP and WebDAV client library. It provides lower-level
+interfaces which directly implement new HTTP methods, and higher-level
+interfaces so that you don't have to worry about the lower-level
+stuff.
diff --git a/www/neon/Makefile b/www/neon/Makefile
new file mode 100644
index 00000000000..a49a9dcb5a6
--- /dev/null
+++ b/www/neon/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/13 19:29:02 agc Exp $
+
+DISTNAME= neon-0.18.3
+CATEGORIES= www
+MASTER_SITES= http://www.webdav.org/neon/
+
+MAINTAINER= epg@pretzelnet.org
+HOMEPAGE= http://www.webdav.org/neon/
+COMMENT= HTTP and WebDAV client library
+
+USE_GMAKE= # defined
+USE_BUILDLINK_ONLY= # defined
+
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --enable-libxml
+CONFIGURE_ARGS+= --enable-shared
+
+.include "../../devel/zlib/buildlink.mk"
+.include "../../security/openssl/buildlink.mk"
+.include "../../textproc/libxml/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/neon/PLIST b/www/neon/PLIST
new file mode 100644
index 00000000000..94d197c3a96
--- /dev/null
+++ b/www/neon/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/13 19:29:02 agc Exp $
+include/neon/ne_request.h
+include/neon/ne_session.h
+include/neon/ne_utils.h
+include/neon/ne_uri.h
+include/neon/ne_socket.h
+include/neon/ne_basic.h
+include/neon/ne_207.h
+include/neon/ne_props.h
+include/neon/ne_xml.h
+include/neon/ne_dates.h
+include/neon/ne_string.h
+include/neon/ne_cookies.h
+include/neon/ne_defs.h
+include/neon/ne_locks.h
+include/neon/ne_alloc.h
+include/neon/ne_md5.h
+include/neon/ne_i18n.h
+include/neon/ne_redirect.h
+include/neon/ne_auth.h
+include/neon/ne_compress.h
+include/neon/ne_acl.h
+lib/libneon.so.18.1
+lib/libneon.so.18
+lib/libneon.so
+lib/libneon.la
+lib/libneon.a
+bin/neon-config
+@dirrm include/neon
diff --git a/www/neon/buildlink.mk b/www/neon/buildlink.mk
new file mode 100644
index 00000000000..efe8ce571f8
--- /dev/null
+++ b/www/neon/buildlink.mk
@@ -0,0 +1,51 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/01/13 19:29:02 agc Exp $
+#
+# This Makefile fragment is included by packages that use neon.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.neon to the dependency patthern
+# for the version of neon desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(NEON_BUILDLINK_MK)
+NEON_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.neon?= neon>=0.18.3
+DEPENDS+= ${BUILDLINK_DEPENDS.neon}:../../www/neon
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.neon=neon
+BUILDLINK_PREFIX.neon_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.neon= include/neon/*
+BUILDLINK_FILES.neon+= lib/libneon.*
+
+.include "../../devel/zlib/buildlink.mk"
+.include "../../security/openssl/buildlink.mk"
+.include "../../textproc/libxml/buildlink.mk"
+
+BUILDLINK_TARGETS.neon= neon-buildlink
+BUILDLINK_TARGETS.neon+= neon-buildlink-config-wrapper
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.neon}
+
+BUILDLINK_CONFIG.neon= ${BUILDLINK_PREFIX.neon}/bin/neon-config
+BUILDLINK_CONFIG_WRAPPER.neon=${BUILDLINK_DIR}/bin/neon-config
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.neon}|${BUILDLINK_CONFIG.neon}|g"
+
+.if defined(USE_CONFIG_WRAPPER)
+NEON_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.neon}
+CONFIGURE_ENV+= NEON_CONFIG="${NEON_CONFIG}"
+MAKE_ENV+= NEON_CONFIG="${NEON_CONFIG}"
+.endif
+
+pre-configure: ${BUILDLINK_TARGETS.neon}
+neon-buildlink: _BUILDLINK_USE
+neon-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
+
+.endif # NEON_BUILDLINK_MK
diff --git a/www/neon/distinfo b/www/neon/distinfo
new file mode 100644
index 00000000000..6841b0f4c23
--- /dev/null
+++ b/www/neon/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/01/13 19:29:02 agc Exp $
+
+SHA1 (neon-0.18.3.tar.gz) = 4adf268e22dc615ada6ed55d5a0135716a693760
+Size (neon-0.18.3.tar.gz) = 475268 bytes