summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-15 23:27:07 +0000
committerjlam <jlam@pkgsrc.org>2001-05-15 23:27:07 +0000
commit0db9506cfc1fda4e8ff1efc3321415c0bd8f571c (patch)
treea910d34e4c43482cc34369355158168ad4f35324 /www
parent4dabc5b0fe5559ab85eb05c5ce95557c7a0633bc (diff)
downloadpkgsrc-0db9506cfc1fda4e8ff1efc3321415c0bd8f571c.tar.gz
sitecopy - utility for synchronizing remote and local web sites
Sitecopy is for copying locally stored web sites to remote web servers. A single command will upload files to the server which have changed locally, and delete files from the server which have been removed locally, to keep the remote site synchronized with the local site. The aim is to remove the hassle of uploading and deleting individual files using an FTP client. Sitecopy will also optionally try to spot files you move locally, and move them remotely. FTP, WebDAV and other HTTP-based authoring servers (for instance, AOLserver and Netscape Enterprise) are supported.
Diffstat (limited to 'www')
-rw-r--r--www/sitecopy/Makefile39
-rw-r--r--www/sitecopy/distinfo5
-rw-r--r--www/sitecopy/patches/patch-aa15
-rw-r--r--www/sitecopy/pkg/DESCR10
-rw-r--r--www/sitecopy/pkg/PLIST18
5 files changed, 87 insertions, 0 deletions
diff --git a/www/sitecopy/Makefile b/www/sitecopy/Makefile
new file mode 100644
index 00000000000..4651013dc6c
--- /dev/null
+++ b/www/sitecopy/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/15 23:27:07 jlam Exp $
+
+DISTNAME= sitecopy-0.10.15
+CATEGORIES= www
+MASTER_SITES= http://www.lyra.org/sitecopy/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.lyra.org/sitecopy/
+COMMENT= utility for synchronizing remote and local web sites
+
+DEPENDS+= libxml>=1.8.11:../../textproc/libxml
+
+USE_SSL= # defined
+USE_LIBINTL= # defined
+USE_GMAKE= # defined
+
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
+CONFIGURE_ARGS+= --enable-libxml
+
+.include "../../devel/libgetopt/Makefile.getopt"
+
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+CPPFLAGS+= -I${WRKINCDIR}
+CFLAGS+= -I${WRKINCDIR}
+
+pre-configure: link-getopt-headers
+
+# The build process doesn't correctly find the header for GNU fnmatch, which
+# is provided in ${WRKSRC}/lib. Help the compiler by linking the header
+# to ${WRKSRC} and explicitly passing -I. to the compiler.
+#
+CFLAGS+= -I.
+
+pre-build:
+ ${RM} -f ${WRKSRC}/fnmatch.h
+ ${LN} -sf ${WRKSRC}/lib/fnmatch.h ${WRKSRC}/fnmatch.h
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/sitecopy/distinfo b/www/sitecopy/distinfo
new file mode 100644
index 00000000000..9590922f3f6
--- /dev/null
+++ b/www/sitecopy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/15 23:27:07 jlam Exp $
+
+SHA1 (sitecopy-0.10.15.tar.gz) = 810bf312b830366985e9f6182b8379d28f9b3118
+Size (sitecopy-0.10.15.tar.gz) = 627536 bytes
+SHA1 (patch-aa) = ebd41e69b9a6c4ba88bb344d8dce67aa669e248f
diff --git a/www/sitecopy/patches/patch-aa b/www/sitecopy/patches/patch-aa
new file mode 100644
index 00000000000..6e46eabf385
--- /dev/null
+++ b/www/sitecopy/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/05/15 23:27:07 jlam Exp $
+
+--- Makefile.in.orig Wed Feb 14 18:39:36 2001
++++ Makefile.in
+@@ -21,8 +21,8 @@
+ datadir = $(prefix)/@DATADIRNAME@
+ # Previously I had:
+ # datadir = @datadir@/sitecopy
+-docdir = $(prefix)/doc/sitecopy
+-sc_datadir = $(datadir)/sitecopy
++docdir = $(prefix)/share/doc/sitecopy
++sc_datadir = $(prefix)/share/sitecopy
+
+ top_srcdir = @top_srcdir@
+ top_builddir = .
diff --git a/www/sitecopy/pkg/DESCR b/www/sitecopy/pkg/DESCR
new file mode 100644
index 00000000000..ef2d1c87c64
--- /dev/null
+++ b/www/sitecopy/pkg/DESCR
@@ -0,0 +1,10 @@
+Sitecopy is for copying locally stored web sites to remote web servers. A
+single command will upload files to the server which have changed locally,
+and delete files from the server which have been removed locally, to keep
+the remote site synchronized with the local site. The aim is to remove the
+hassle of uploading and deleting individual files using an FTP client.
+Sitecopy will also optionally try to spot files you move locally, and move
+them remotely.
+
+FTP, WebDAV and other HTTP-based authoring servers (for instance, AOLserver
+and Netscape Enterprise) are supported.
diff --git a/www/sitecopy/pkg/PLIST b/www/sitecopy/pkg/PLIST
new file mode 100644
index 00000000000..ad91f519c1f
--- /dev/null
+++ b/www/sitecopy/pkg/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/15 23:27:07 jlam Exp $
+bin/sitecopy
+man/man1/sitecopy.1
+share/doc/sitecopy/FAQ
+share/doc/sitecopy/NEWS
+share/doc/sitecopy/README
+share/doc/sitecopy/THANKS
+share/doc/sitecopy/update.sh
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/sitecopy.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/sitecopy.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/sitecopy.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/sitecopy.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/sitecopy.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/sitecopy.mo
+share/sitecopy/changes.awk
+share/sitecopy/examplerc
+@dirrm share/sitecopy
+@dirrm share/doc/sitecopy