aboutsummaryrefslogtreecommitdiff
path: root/ftp/ftpsync/Makefile
blob: c95ac884c5a7fe474316e0c96ab1a37af67c23e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	ftpsync
# Date created:		31 August 2006
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	ftpsync
PORTVERSION=	1.2.32
CATEGORIES=	ftp
MASTER_SITES=	SF

MAINTAINER=	infofarmer@FreeBSD.org
COMMENT=	Synchronizes a local and a remote FTP directory trees

RUN_DEPENDS=	p5-libwww>=5.805:${PORTSDIR}/www/p5-libwww

NO_BUILD=	yes
USE_BZIP2=	yes
USE_PERL5=	yes
PLIST_FILES=	bin/${PORTNAME}.pl

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=		 requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/

.include <bsd.port.post.mk>