diff options
author | erwin <erwin@FreeBSD.org> | 2006-07-17 03:11:39 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2006-07-17 03:11:39 +0800 |
commit | dfd57a81654cf7163046923a4f8c92d96c0b3402 (patch) | |
tree | e19e228232c174dba7e3c32ce824c8af89227b6d /graphics/p5-Image-Info | |
parent | 13c645f3f768694eba9ce267a7122535083a2346 (diff) | |
download | freebsd-ports-gnome-dfd57a81654cf7163046923a4f8c92d96c0b3402.tar.gz freebsd-ports-gnome-dfd57a81654cf7163046923a4f8c92d96c0b3402.tar.zst freebsd-ports-gnome-dfd57a81654cf7163046923a4f8c92d96c0b3402.zip |
- Fix for older perl.
- Use dirrmtry
PR: 100391
Submitted by: Gea-Suan Lin <gslin@gslin.org>
Diffstat (limited to 'graphics/p5-Image-Info')
-rw-r--r-- | graphics/p5-Image-Info/Makefile | 10 | ||||
-rw-r--r-- | graphics/p5-Image-Info/pkg-plist | 5 |
2 files changed, 8 insertions, 7 deletions
diff --git a/graphics/p5-Image-Info/Makefile b/graphics/p5-Image-Info/Makefile index ee268b0e9545..ea00f7f2085f 100644 --- a/graphics/p5-Image-Info/Makefile +++ b/graphics/p5-Image-Info/Makefile @@ -15,10 +15,10 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for getting image information -BUILD_DEPENDS= ${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String \ - ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ + ${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String \ ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes @@ -28,8 +28,8 @@ MAN3= Image::Info.3 Image::Info::BMP.3 Image::Info::SVG.3 \ .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500600 -IGNORE= needs perl 5.6.0 or higher, install lang/perl5.8 and try again +.if ${PERL_LEVEL} < 500602 +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple .endif .include <bsd.port.post.mk> diff --git a/graphics/p5-Image-Info/pkg-plist b/graphics/p5-Image-Info/pkg-plist index 577741e25d1c..19c940f5e54d 100644 --- a/graphics/p5-Image-Info/pkg-plist +++ b/graphics/p5-Image-Info/pkg-plist @@ -1,3 +1,4 @@ +@comment $FreeBSD$ %%SITE_PERL%%/Image/Info.pm %%SITE_PERL%%/Image/Info/BMP.pm %%SITE_PERL%%/Image/Info/GIF.pm @@ -10,7 +11,7 @@ %%SITE_PERL%%/Image/Info/XPM.pm %%SITE_PERL%%/Image/TIFF.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Info/.packlist -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Info -@dirrm %%SITE_PERL%%/Image/Info +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Info +@dirrmtry %%SITE_PERL%%/Image/Info @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image @dirrmtry %%SITE_PERL%%/Image |