summaryrefslogtreecommitdiff
path: root/www/sitecopy/Makefile
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/sitecopy/Makefile
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/sitecopy/Makefile')
-rw-r--r--www/sitecopy/Makefile39
1 files changed, 39 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"