summaryrefslogtreecommitdiff
path: root/www/cadaver
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-16 04:40:48 +0000
committerjlam <jlam>2001-05-16 04:40:48 +0000
commit4ce11ccd821fe249efa0e52ad31803a4c34cddca (patch)
treeb65a500487d7e4045d4db17970e53e9deede0090 /www/cadaver
parent897d3418be42f2cc5e19e5ff2eb5a49e567ee5ac (diff)
downloadpkgsrc-4ce11ccd821fe249efa0e52ad31803a4c34cddca.tar.gz
cadaver is a command-line WebDAV client for Unix. It supports file upload,
download, on-screen display, namespace operations (move/copy), collection creation and deletion, and locking operations.
Diffstat (limited to 'www/cadaver')
-rw-r--r--www/cadaver/Makefile55
-rw-r--r--www/cadaver/distinfo4
-rw-r--r--www/cadaver/pkg/DESCR3
-rw-r--r--www/cadaver/pkg/PLIST3
4 files changed, 65 insertions, 0 deletions
diff --git a/www/cadaver/Makefile b/www/cadaver/Makefile
new file mode 100644
index 00000000000..8731338de35
--- /dev/null
+++ b/www/cadaver/Makefile
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/16 04:40:48 jlam Exp $
+
+DISTNAME= cadaver-0.17.0
+CATEGORIES= www
+MASTER_SITES= http://www.webdav.org/cadaver/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.webdav.org/cadaver/
+COMMENT= command-line WebDAV client
+
+DEPENDS+= libxml>=1.8.11:../../textproc/libxml
+
+USE_SSL= # defined
+USE_LIBINTL= # defined
+USE_GMAKE= # defined
+
+ALL_TARGET= cadaver
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
+CONFIGURE_ARGS+= --enable-libxml
+
+.include "../../devel/libgetopt/Makefile.getopt"
+.include "../../devel/readline/Makefile.readline"
+
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ENV+= LIBS="${LIBS}"
+CONFIGURE_ENV+= ac_cv_lib_curses_tputs=no
+CONFIGURE_ENV+= ac_cv_lib_ncurses_tputs=no
+
+.if defined(HAVE_LIBEDIT_READLINE)
+CONFIGURE_ENV+= ac_cv_lib_readline_readline=yes
+LIBS+= -ledit
+.endif
+
+CPPFLAGS+= -I${WRKINCDIR}
+CFLAGS+= -I${WRKINCDIR}
+LDFLAGS+= -L${WRKLIBDIR}
+LIBS+= -ltermcap
+
+pre-configure: link-getopt-headers link-readline-headers link-readline-libs
+
+# The build process doesn't correctly find some headers for utility functions
+# which are provided in ${WRKSRC}/lib. Help the compiler by linking the
+# headers to ${WRKSRC} and explicitly passing -I. to the compiler.
+#
+CFLAGS+= -I.
+
+pre-build:
+ ${RM} -f ${WRKSRC}/glob.h
+ ${LN} -sf ${WRKSRC}/lib/glob.h ${WRKSRC}/glob.h
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/doc/cadaver.1 ${PREFIX}/man/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/cadaver/distinfo b/www/cadaver/distinfo
new file mode 100644
index 00000000000..d1134c42581
--- /dev/null
+++ b/www/cadaver/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/16 04:40:48 jlam Exp $
+
+SHA1 (cadaver-0.17.0.tar.gz) = 39e99032ed118463691e082f3479b0bd68259f88
+Size (cadaver-0.17.0.tar.gz) = 377211 bytes
diff --git a/www/cadaver/pkg/DESCR b/www/cadaver/pkg/DESCR
new file mode 100644
index 00000000000..34ca3d5cfbb
--- /dev/null
+++ b/www/cadaver/pkg/DESCR
@@ -0,0 +1,3 @@
+cadaver is a command-line WebDAV client for Unix. It supports file upload,
+download, on-screen display, namespace operations (move/copy), collection
+creation and deletion, and locking operations.
diff --git a/www/cadaver/pkg/PLIST b/www/cadaver/pkg/PLIST
new file mode 100644
index 00000000000..ba1bcdef549
--- /dev/null
+++ b/www/cadaver/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/16 04:40:48 jlam Exp $
+bin/cadaver
+man/man1/cadaver.1