mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
fae188751b
Approved by: portmgr (implicit)
40 lines
991 B
Makefile
40 lines
991 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
|
|
|
|
USES= python
|
|
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>
|