mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
9a0723ba78
Lsyncd is designed to synchronize a local directory tree with low profile of expected changes to a remote mirror. Lsyncd is especially useful to sync data from a secure area to a not-so-secure area. WWW: https://axkibe.github.io/lsyncd/ PR: 228714 Submitted by: Junichi Satoh <junichi@junichi.org>
35 lines
727 B
Makefile
35 lines
727 B
Makefile
# $FreeBSD$
|
|
|
|
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:outsource 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>
|