freebsd-ports/sysutils/rsnapshot/Makefile
2014-10-26 21:04:21 +00:00

36 lines
885 B
Makefile

# Created by: Ralf van Dooren <r.vdooren@snow.nl>
# $FreeBSD$
PORTNAME= rsnapshot
PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.rsnapshot.org/downloads/
MAINTAINER= r.vdooren@snow.nl
COMMENT= Filesystem snapshot utility based on rsync(1)
BUILD_DEPENDS= rsync:${PORTSDIR}/net/rsync
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \
p5-Lchown>=0:${PORTSDIR}/sysutils/p5-Lchown
USES= shebangfix perl5
GNU_CONFIGURE= yes
SHEBANG_FILES= rsnapshot-program.pl rsnapshot-diff.pl
PORTDOCS= AUTHORS ChangeLog README TODO
post-patch:
${REINPLACE_CMD} -e 's,/usr/bin/pod2man,pod2man,' ${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.pre.mk>
.if ${PERL_VER} >= 5.18
BROKEN= Does not build with Perl 5.18 or above
.endif
.include <bsd.port.post.mk>