summaryrefslogtreecommitdiff
path: root/ftp/profxp
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-24 08:30:46 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-24 08:30:46 +0000
commit826c81af60b7744a5cfa93f24e907de24c6072c2 (patch)
treeee18e41b686a284f71802d3cdf5954d2c3ef3e5e /ftp/profxp
parentupgrade to 1.0 (diff)
add depends on devel/p5-Term-ANSIColor when OSVERSION < 500007
Submitted by: Bryan Fullerton <bryanf@samurai.com>
Notes
Notes: svn path=/head/; revision=45428
Diffstat (limited to 'ftp/profxp')
-rw-r--r--ftp/profxp/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/ftp/profxp/Makefile b/ftp/profxp/Makefile
index 0fd73cc3fd9d..a31c9ea988c7 100644
--- a/ftp/profxp/Makefile
+++ b/ftp/profxp/Makefile
@@ -14,15 +14,22 @@ DISTNAME= ${PORTNAME}.v${PORTVERSION:S/p/-pre/}
MAINTAINER= ijliao@FreeBSD.org
+.include <bsd.port.pre.mk>
+
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SOCKS.pm:${PORTSDIR}/net/p5-Socks \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+# perl 5.6.0
+.if ${OSVERSION} < 500007
+RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
+.endif
+
NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/profxpv2.pl ${PREFIX}/bin/profxp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>