blob: ef1f96bd1ba28180c571f4ab6f40e319bccd7e96 (
plain)
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
|
PORTNAME= lsyncd
DISTVERSIONPREFIX= release-
DISTVERSION= 2.2.3
CATEGORIES= sysutils
MAINTAINER= junichi@junichi.org
COMMENT= Live Syncing (Mirror) Daemon
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libinotify.so:devel/libinotify
USES= cmake localbase lua
USE_GITHUB= yes
GH_ACCOUNT= axkibe
USE_RC_SUBR= lsyncd
CFLAGS+= -D__BSD_VISIBLE # for DT_{UNKNOWN,DIR}
PLIST_FILES= sbin/lsyncd \
man/man1/lsyncd.1.gz \
"@sample etc/lsyncd.conf.sample"
post-patch:
@${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},' \
${WRKSRC}/CMakeLists.txt \
${WRKSRC}/default-rsync.lua
post-install:
${INSTALL_DATA} ${FILESDIR}/lsyncd.conf.sample ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>
|