d3f99a4e7a
realsync daemon with rsync and python: - config support /usr/local/etc/realsync.cfg - e-mail stats support - threads support - threads wait support PR: ports/185774 Submitted by: Krasimir Nachev <krasi@it-sys.org>
39 lines
993 B
Makefile
39 lines
993 B
Makefile
# Created by: Krasimir Nachev krasi@it-sys.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= realsync
|
|
PORTVERSION= 0.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.it-sys.org/distfiles/
|
|
|
|
MAINTAINER= krasi@it-sys.org
|
|
COMMENT= Parallel synchronization daemon for rsync
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \
|
|
sudo:${PORTSDIR}/security/sudo
|
|
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PLIST_FILES= sbin/realsync \
|
|
etc/rc.d/realsync \
|
|
etc/realsync.cfg.example \
|
|
man/man8/realsync.8.gz
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 804000
|
|
IGNORE= does not work on FreeBSD < 8.4
|
|
.endif
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/realsync ${STAGEDIR}${PREFIX}/sbin/realsync
|
|
${INSTALL_MAN} ${WRKSRC}/man8/realsync.8 ${STAGEDIR}${PREFIX}/man/man8/realsync.8
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/realsync ${STAGEDIR}${PREFIX}/etc/rc.d/realsync
|
|
${INSTALL_DATA} ${WRKSRC}/config/${PORTNAME}.cfg.example ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.example
|
|
|
|
.include <bsd.port.post.mk>
|