freebsd-ports/sysutils/realsync/Makefile
Mathieu Arnold 0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00

33 lines
885 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
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.mk>