2001-06-13 10:46:54 -04:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: profxp
|
|
|
|
# Date created: Jun 1, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= profxp
|
2002-11-19 23:44:09 -05:00
|
|
|
PORTVERSION= 3p2
|
2001-06-13 10:46:54 -04:00
|
|
|
CATEGORIES= ftp
|
|
|
|
MASTER_SITES= http://duncanthrax.net/profxp/
|
2002-01-19 11:07:10 -05:00
|
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/p/-pre/}-src
|
2001-06-13 10:46:54 -04:00
|
|
|
|
2002-01-19 11:07:10 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 12:24:13 -05:00
|
|
|
COMMENT= FXP (server-to-server FTP) client
|
2001-06-13 10:46:54 -04:00
|
|
|
|
2001-07-24 04:30:46 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-11-19 23:44:09 -05:00
|
|
|
RUN_DEPENDS= ${PERL_SITELIBDIR}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
|
|
|
|
${PERL_SITELIBDIR}/Net/SOCKS.pm:${PORTSDIR}/net/p5-Socks \
|
|
|
|
${PERL_SITELIBDIR}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
|
|
|
|
${PERL_SITELIBDIR}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl
|
2001-06-13 10:46:54 -04:00
|
|
|
|
2001-07-24 04:30:46 -04:00
|
|
|
# perl 5.6.0
|
|
|
|
.if ${OSVERSION} < 500007
|
2002-11-19 23:44:09 -05:00
|
|
|
RUN_DEPENDS+= ${PERL_SITELIBDIR}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
|
2001-07-24 04:30:46 -04:00
|
|
|
.endif
|
|
|
|
|
2002-11-19 23:44:09 -05:00
|
|
|
PERL_SITELIBDIR= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
2002-01-19 11:07:10 -05:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2001-06-13 10:46:54 -04:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2002-01-19 11:07:10 -05:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e "s,^#!.*,#!${PERL},g" ${WRKSRC}/profxpv3.pl
|
|
|
|
|
2001-06-13 10:46:54 -04:00
|
|
|
do-install:
|
2002-01-19 11:07:10 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/profxpv3.pl ${PREFIX}/bin/profxp
|
|
|
|
${CP} -R ${WRKSRC}/profxp ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
|
2001-06-13 10:46:54 -04:00
|
|
|
|
2001-07-24 04:30:46 -04:00
|
|
|
.include <bsd.port.post.mk>
|