mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
1ae8992454
PR: ports/104911 Submitted by: maintainer (Ralf van Dooren)
41 lines
947 B
Makefile
41 lines
947 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.0
|
|
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
|
|
|
|
USE_PERL5= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= rsnapshot.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>
|