freebsd-ports/sysutils/rsyncbackup/Makefile

37 lines
849 B
Makefile
Raw Normal View History

# Created by: Daniel Bond
# $FreeBSD$
PORTNAME= rsyncbackup
PORTVERSION= 1.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= rsyncbackup
MAINTAINER= ports@danielbond.org
COMMENT= Rsync frontend written in Perl
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
PROJECTHOST= rsync-backup
CONFIGSRC= ${WRKSRC}/config
CONFIGFILES= backupset.conf config.conf destinations.conf sources.conf
2014-03-10 18:01:36 +01:00
USES= perl5 zip
NO_BUILD= yes
SUB_FILES= pkg-message
2014-03-14 14:45:41 +01:00
OPTIONS_DEFINE= DOCS
2014-03-14 14:45:41 +01:00
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${ETCDIR}
.for configfile in ${CONFIGFILES}
2014-03-14 14:45:41 +01:00
${INSTALL_DATA} ${CONFIGSRC}/${configfile} \
${STAGEDIR}${ETCDIR}/${configfile}.example
.endfor
2014-03-14 14:45:41 +01:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>