diff options
author | mat <mat@FreeBSD.org> | 2017-08-24 20:26:16 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-08-24 20:26:16 +0800 |
commit | 9178524ae0d2870e299c189eaa129991419b306c (patch) | |
tree | 009918a2ae4db0708f0f54232f04af51275c0741 | |
parent | 2c8849b4af5aabe29685851682abe0b4419789f5 (diff) | |
download | freebsd-ports-gnome-9178524ae0d2870e299c189eaa129991419b306c.tar.gz freebsd-ports-gnome-9178524ae0d2870e299c189eaa129991419b306c.tar.zst freebsd-ports-gnome-9178524ae0d2870e299c189eaa129991419b306c.zip |
Fix runtime.
Installing .xs files is interesting, but Perl cannot use them, they need
to be compile into .so files first. A QA check may be needed to avoid
future absurdities like that.
While there, put the *_DEPENDS variables in the correct order, remove
unnecessary tortuous variable assignment, and add a missing
BUILD_DEPENDS.
Pointy hat: sunpoet
Sponsored by: Absolight
-rw-r--r-- | graphics/p5-Gimp/Makefile | 19 | ||||
-rw-r--r-- | graphics/p5-Gimp/pkg-plist | 40 |
2 files changed, 34 insertions, 25 deletions
diff --git a/graphics/p5-Gimp/Makefile b/graphics/p5-Gimp/Makefile index 5136ea06b128..72d2d8b19e48 100644 --- a/graphics/p5-Gimp/Makefile +++ b/graphics/p5-Gimp/Makefile @@ -3,6 +3,7 @@ PORTNAME= Gimp PORTVERSION= 2.32 +PORTREVISION= 1 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,20 +15,28 @@ LICENSE= ART10 GPLv1 LICENSE_COMB= dual LICENSE_FILE_ART10= ${WRKSRC}/COPYING.Artistic -BUILD_DEPENDS= p5-Gtk2>=1.0:x11-toolkits/p5-Gtk2 \ +BUILD_DEPENDS= ${RUN_DEPENDS} \ + p5-ExtUtils-Depends>=0.402:devel/p5-ExtUtils-Depends \ + p5-Alien-Gimp>=0.01:graphics/p5-Alien-Gimp +LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app +RUN_DEPENDS= p5-Gtk2>=1.0:x11-toolkits/p5-Gtk2 \ p5-Gtk2-Ex-PodViewer>=0:x11-toolkits/p5-Gtk2-Ex-PodViewer \ p5-IO-All>=0:devel/p5-IO-All \ p5-IO-stringy>=0:devel/p5-IO-stringy \ p5-HTML-Parser>=0:www/p5-HTML-Parser \ p5-Web-Scraper>=0:www/p5-Web-Scraper \ PDL>=2.007:math/PDL -LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app -RUN_DEPENDS:= ${BUILD_DEPENDS} -BUILD_DEPENDS+= p5-Alien-Gimp>=0.01:graphics/p5-Alien-Gimp USES= perl5 USE_PERL5= configure MAKE_JOBS_UNSAFE= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502502 +BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=7.14:devel/p5-ExtUtils-MakeMaker +.endif + + +.include <bsd.port.post.mk> diff --git a/graphics/p5-Gimp/pkg-plist b/graphics/p5-Gimp/pkg-plist index fd19447c8d83..1d4f1f68cb7c 100644 --- a/graphics/p5-Gimp/pkg-plist +++ b/graphics/p5-Gimp/pkg-plist @@ -2,26 +2,26 @@ bin/embedxpm bin/gimpdoc bin/scm2perl bin/xcftopnm -%%SITE_PERL%%/Gimp.pm -%%SITE_PERL%%/Gimp.xs -%%SITE_PERL%%/Gimp/ColorDB.pm -%%SITE_PERL%%/Gimp/Constant.pm -%%SITE_PERL%%/Gimp/Data.pm -%%SITE_PERL%%/Gimp/Extension.pm -%%SITE_PERL%%/Gimp/Fu.pm -%%SITE_PERL%%/Gimp/Install/Files.pm -%%SITE_PERL%%/Gimp/Lib.pm -%%SITE_PERL%%/Gimp/Lib.xs -%%SITE_PERL%%/Gimp/Net.pm -%%SITE_PERL%%/Gimp/Net.xs -%%SITE_PERL%%/Gimp/PixelRgn.pod -%%SITE_PERL%%/Gimp/Pod.pm -%%SITE_PERL%%/Gimp/UI.pm -%%SITE_PERL%%/Gimp/UI.xs -%%SITE_PERL%%/Gimp/Util.pm -%%SITE_PERL%%/Gimp/gimp-perl.h -%%SITE_PERL%%/Gimp/gppport.h -%%SITE_PERL%%/Gimp/perl-intl.h +%%SITE_ARCH%%/Gimp.pm +%%SITE_ARCH%%/Gimp/ColorDB.pm +%%SITE_ARCH%%/Gimp/Constant.pm +%%SITE_ARCH%%/Gimp/Data.pm +%%SITE_ARCH%%/Gimp/Extension.pm +%%SITE_ARCH%%/Gimp/Fu.pm +%%SITE_ARCH%%/Gimp/Install/Files.pm +%%SITE_ARCH%%/Gimp/Lib.pm +%%SITE_ARCH%%/Gimp/Net.pm +%%SITE_ARCH%%/Gimp/PixelRgn.pod +%%SITE_ARCH%%/Gimp/Pod.pm +%%SITE_ARCH%%/Gimp/UI.pm +%%SITE_ARCH%%/Gimp/Util.pm +%%SITE_ARCH%%/Gimp/gimp-perl.h +%%SITE_ARCH%%/Gimp/gppport.h +%%SITE_ARCH%%/Gimp/perl-intl.h +%%SITE_ARCH%%/auto/Gimp/Gimp.so +%%SITE_ARCH%%/auto/Gimp/Lib/Lib.so +%%SITE_ARCH%%/auto/Gimp/Net/Net.so +%%SITE_ARCH%%/auto/Gimp/UI/UI.so %%PERL5_MAN1%%/embedxpm.1.gz %%PERL5_MAN1%%/gimpdoc.1.gz %%PERL5_MAN1%%/scm2perl.1.gz |