summaryrefslogtreecommitdiff
path: root/www/sitecopy
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-15 23:27:07 +0000
committerjlam <jlam>2001-05-15 23:27:07 +0000
commit21ae4dd7d5cf735b5519ea5167d9f8592c4c2403 (patch)
treea910d34e4c43482cc34369355158168ad4f35324 /www/sitecopy
parent7f36af4d847f2d0c1a7d175411b101802527afa0 (diff)
downloadpkgsrc-21ae4dd7d5cf735b5519ea5167d9f8592c4c2403.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/sitecopy')
-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