mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
2a2b71bb1c
Respect EXAMPLESDIR PR: 101839 Submitted by: Gea-Suan Lin <gslin@gslin.org>
39 lines
973 B
Makefile
39 lines
973 B
Makefile
# New ports collection makefile for: Term::ProgressBar
|
|
# Date created: 30 Dec 2001
|
|
# Whom: Seamus Venasse <svenasse@polaris.ca>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Term-ProgressBar
|
|
PORTVERSION= 2.09
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= ../../authors/id/F/FL/FLUFFY
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl extension to display a progress bar
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker \
|
|
${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Term::ProgressBar.3
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.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
|
|
|
|
.include <bsd.port.post.mk>
|