1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/sysutils/rsyncbackup/Makefile
Rong-En Fan 034201d744 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
2007-10-10 05:42:10 +00:00

45 lines
923 B
Makefile

# 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>