summaryrefslogtreecommitdiffstats
path: root/ftp/profxp
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-07-24 08:30:46 +0000
committerijliao <ijliao@FreeBSD.org>2001-07-24 08:30:46 +0000
commit8d184e5a2d66a5315594fcb14f5566749ccb997a (patch)
treef60615f19bf184a8b44de32f3ed8d5ccfa26115d /ftp/profxp
parent9f34509df5925077215f066a546dc6afffbe0d37 (diff)
downloadFreeBSD-ports-8d184e5a2d66a5315594fcb14f5566749ccb997a.zip
FreeBSD-ports-8d184e5a2d66a5315594fcb14f5566749ccb997a.tar.gz
add depends on devel/p5-Term-ANSIColor when OSVERSION < 500007
Submitted by: Bryan Fullerton <bryanf@samurai.com>
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 0fd73cc..a31c9ea 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>
OpenPOWER on IntegriCloud