blob: 0f645115e3f35d3388f595444e27d61984b1575e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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>
|