2013-09-21 01:05:58 +02:00
|
|
|
# Created by: Daniel Bond
|
2007-10-10 07:42:10 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= rsyncbackup
|
|
|
|
PORTVERSION= 1.0
|
|
|
|
CATEGORIES= sysutils
|
2008-03-13 12:27:29 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
2007-10-10 07:42:10 +02:00
|
|
|
DISTNAME= rsyncbackup
|
|
|
|
|
|
|
|
MAINTAINER= ports@danielbond.org
|
|
|
|
COMMENT= Rsync frontend written in Perl
|
|
|
|
|
|
|
|
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
|
|
|
|
|
2008-03-13 12:27:29 +01:00
|
|
|
PROJECTHOST= rsync-backup
|
2007-10-10 07:42:10 +02:00
|
|
|
CONFIGSRC= ${WRKSRC}/config
|
|
|
|
CONFIGFILES= backupset.conf config.conf destinations.conf sources.conf
|
|
|
|
|
2014-03-10 18:01:36 +01:00
|
|
|
USES= perl5 zip
|
2007-10-10 07:42:10 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2013-09-21 01:05:58 +02:00
|
|
|
NO_STAGE= yes
|
2007-10-10 07:42:10 +02:00
|
|
|
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>
|