- Use CPAN macro

- Allow port build on old perl (5.6.2)
- Remove no-longer-use post-patch target

PR:		121447
Submitted by:	leeym
Approved by:	mat (implicit)
This commit is contained in:
Martin Wilke 2008-03-13 14:59:51 +00:00
parent 4d3c82a3e2
commit f1fa4b8f53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208961

View file

@ -9,8 +9,7 @@ PORTNAME= GD-Graph
PORTVERSION= 1.44 PORTVERSION= 1.44
PORTREVISION= 1 PORTREVISION= 1
CATEGORIES= graphics perl5 CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Test/BWARFIELD
PKGNAMEPREFIX= p5- PKGNAMEPREFIX= p5-
DISTNAME= GDGraph-${DISTVERSION} DISTNAME= GDGraph-${DISTVERSION}
@ -21,7 +20,7 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \
${SITE_PERL}/GD/Text/Align.pm:${PORTSDIR}/graphics/p5-GD-TextUtil ${SITE_PERL}/GD/Text/Align.pm:${PORTSDIR}/graphics/p5-GD-TextUtil
RUN_DEPENDS= ${BUILD_DEPENDS} RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= 5.8.0+ PERL_CONFIGURE= yes
MAN3= GD::Graph.3 \ MAN3= GD::Graph.3 \
GD::Graph::Data.3 \ GD::Graph::Data.3 \
@ -30,7 +29,4 @@ MAN3= GD::Graph.3 \
GD::Graph::colour.3 \ GD::Graph::colour.3 \
GD::Graph::hbars.3 GD::Graph::hbars.3
post-patch:
@${FIND} ${WRKSRC} -name "*.orig" -print0 | ${XARGS} -0 ${RM} -f
.include <bsd.port.mk> .include <bsd.port.mk>