aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rsyncbackup
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-10-10 13:42:10 +0800
committerrafan <rafan@FreeBSD.org>2007-10-10 13:42:10 +0800
commitfb44bad607d31caeccaea8d21eafa8d84fea7d18 (patch)
treef77725732da936908289d77d5f42a465f9e43621 /sysutils/rsyncbackup
parentf056d50a26c0f5378ac52513beceed2e3c3fc46f (diff)
downloadfreebsd-ports-gnome-fb44bad607d31caeccaea8d21eafa8d84fea7d18.tar.gz
freebsd-ports-gnome-fb44bad607d31caeccaea8d21eafa8d84fea7d18.tar.zst
freebsd-ports-gnome-fb44bad607d31caeccaea8d21eafa8d84fea7d18.zip
rsyncbackup is a perlscript that reads configuration files for sources
and destinations, and feeds the rsync tool with the appropriate parameters. rsyncbackup is GPL licenced WWW: http://code.google.com/p/rsync-backup/ PR: ports/117019 Submitted by: Daniel Bond
Diffstat (limited to 'sysutils/rsyncbackup')
-rw-r--r--sysutils/rsyncbackup/Makefile44
-rw-r--r--sysutils/rsyncbackup/distinfo3
-rw-r--r--sysutils/rsyncbackup/files/pkg-message.in24
-rw-r--r--sysutils/rsyncbackup/pkg-descr6
-rw-r--r--sysutils/rsyncbackup/pkg-plist34
5 files changed, 111 insertions, 0 deletions
diff --git a/sysutils/rsyncbackup/Makefile b/sysutils/rsyncbackup/Makefile
new file mode 100644
index 000000000000..dd7ed5544d00
--- /dev/null
+++ b/sysutils/rsyncbackup/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: rsyncbackup
+# Date created: 8 October 2007
+# Whom: Daniel Bond
+#
+# $FreeBSD$
+#
+
+PORTNAME= rsyncbackup
+PORTVERSION= 1.0
+CATEGORIES= sysutils
+MASTER_SITES= http://rsync-backup.googlecode.com/files/
+DISTNAME= rsyncbackup
+
+MAINTAINER= ports@danielbond.org
+COMMENT= Rsync frontend written in Perl
+
+RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
+
+CONFIGSRC= ${WRKSRC}/config
+CONFIGFILES= backupset.conf config.conf destinations.conf sources.conf
+
+USE_ZIP= yes
+USE_PERL= yes
+NO_BUILD= yes
+
+SUB_FILES= pkg-message
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+
+ ${MKDIR} ${ETCDIR}
+.for configfile in ${CONFIGFILES}
+ ${INSTALL_DATA} ${CONFIGSRC}/${configfile} ${ETCDIR}/${configfile}.example
+.endfor
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/sysutils/rsyncbackup/distinfo b/sysutils/rsyncbackup/distinfo
new file mode 100644
index 000000000000..91c1a6e45476
--- /dev/null
+++ b/sysutils/rsyncbackup/distinfo
@@ -0,0 +1,3 @@
+MD5 (rsyncbackup.zip) = e8833ebb2af2e1fb219f35e766162383
+SHA256 (rsyncbackup.zip) = 35e41448278661625e72a4e99ce236b07e4d716113bf2716ebe892b54a597477
+SIZE (rsyncbackup.zip) = 61286
diff --git a/sysutils/rsyncbackup/files/pkg-message.in b/sysutils/rsyncbackup/files/pkg-message.in
new file mode 100644
index 000000000000..400683dbf517
--- /dev/null
+++ b/sysutils/rsyncbackup/files/pkg-message.in
@@ -0,0 +1,24 @@
+
+
+NOTE:
+==========
+
+rsyncbackup is now installed on your system.
+
+- rsyncbackup installed into %%PREFIX%%/bin/rsyncbackup
+
+- Configuration files:
+ These files are installed into %%PREFIX%%/etc/rsyncbackup,
+ and are usually copyied to rsyncbackup-users ~/backup/*.conf
+
+ NOTE: %%PREFIX%%/etc/rsyncbackup is deleted upon deletion
+
+- HTML documentation:
+ The HTML documentation has been installed into
+ %%DOCSDIR%%
+
+
+Official page: http://code.google.com/p/rsync-backup/
+Online docs: http://rsyncbackup.erlang.no/doc/
+
+
diff --git a/sysutils/rsyncbackup/pkg-descr b/sysutils/rsyncbackup/pkg-descr
new file mode 100644
index 000000000000..84ad15861a1c
--- /dev/null
+++ b/sysutils/rsyncbackup/pkg-descr
@@ -0,0 +1,6 @@
+rsyncbackup is a perlscript that reads configuration files for sources
+and destinations, and feeds the rsync tool with the appropriate parameters.
+
+rsyncbackup is GPL licenced
+
+WWW: http://code.google.com/p/rsync-backup/
diff --git a/sysutils/rsyncbackup/pkg-plist b/sysutils/rsyncbackup/pkg-plist
new file mode 100644
index 000000000000..d543d4bf92ac
--- /dev/null
+++ b/sysutils/rsyncbackup/pkg-plist
@@ -0,0 +1,34 @@
+bin/rsyncbackup
+%%ETCDIR%%/backupset.conf.example
+%%ETCDIR%%/config.conf.example
+%%ETCDIR%%/destinations.conf.example
+%%ETCDIR%%/sources.conf.example
+%%PORTDOCS%%%%DOCSDIR%%/ar01s01.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s02.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s03.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s04.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s05.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s06.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s07.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s08.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s09.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s10.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s11.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s12.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s13.html
+%%PORTDOCS%%%%DOCSDIR%%/ar01s14.html
+%%PORTDOCS%%%%DOCSDIR%%/html.css
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/icons/caution.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/example.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/home.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/important.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/next.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/note.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/prev.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/tip.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/up.png
+%%PORTDOCS%%%%DOCSDIR%%/icons/warning.png
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/icons
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry %%ETCDIR%%