mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
beec346c19
PR: 127404 Submitted by: Ralf van Dooren <r.vdooren@snow.nl> (maintainer)
41 lines
969 B
Makefile
41 lines
969 B
Makefile
# New ports collection makefile for: rsnapshot
|
|
# Date created: 2004-01-03
|
|
# Whom: Ralf van Dooren <r.vdooren@snow.nl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rsnapshot
|
|
PORTVERSION= 1.3.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 \
|
|
${SITE_PERL}/${PERL_ARCH}/Lchown.pm:${PORTSDIR}/sysutils/p5-Lchown
|
|
|
|
USE_PERL5= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN1= rsnapshot.1 rsnapshot-diff.1
|
|
PORTDOCS= AUTHORS ChangeLog README TODO
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,/usr/bin/pod2man,pod2man,' ${WRKSRC}/Makefile.in
|
|
.if ${PERL_LEVEL} < 500800
|
|
${REINPLACE_CMD} -e "s, -n 'rsnapshot',," ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|