Permalink
Browse files
p5-image-exiftool: remove exiftool subport and cleanup
Fixes lint errors caused by conflicts between exiftool and the other subports.
- Loading branch information
| @@ -1,47 +1,28 @@ | ||
| # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
|
||
| PortSystem 1.0 | ||
| PortGroup perl5 1.0 | ||
|
|
||
| name p5-image-exiftool | ||
| version 11.33 | ||
|
|
||
| if {$subport ne "exiftool"} { | ||
| PortGroup perl5 1.0 | ||
| perl5.branches 5.26 5.28 | ||
| perl5.setup Image-ExifTool ${version} | ||
| } | ||
| perl5.branches 5.26 5.28 | ||
| perl5.link_binaries no | ||
| perl5.setup Image-ExifTool 11.33 | ||
| revision 1 | ||
|
|
||
| license {Artistic-1 GPL} | ||
| maintainers {devans @dbevans} openmaintainer | ||
| platforms darwin | ||
| supported_archs noarch | ||
|
|
||
| description Perl interface and general command line utility to read, write and edit EXIF metadata | ||
| description Perl interface to read, write and edit EXIF metadata | ||
| long_description ${description} | ||
|
|
||
| homepage http://exiftool.sourceforge.net/ | ||
| master_sites sourceforge:project/exiftool/ | ||
|
|
||
| checksums rmd160 b59c1fb3654f7d2a6b6e91b70d0cff458b4fb472 \ | ||
| sha256 40ee3ba4f7187b08251555a430ae82be0fafc8347e7f944bd41f2f0f93adc5d4 \ | ||
| size 4526448 | ||
|
|
||
| homepage http://exiftool.sourceforge.net/ | ||
| master_sites sourceforge:project/exiftool/ | ||
|
|
||
| livecheck.type regex | ||
| livecheck.url ${homepage} | ||
| if {$subport ne "exiftool"} { | ||
| livecheck.regex ${perl5.module}-(\[0-9.\]+)${extract.suffix} | ||
| } | ||
|
|
||
| subport exiftool { | ||
| revision 0 | ||
| set perl_branch 5.28 | ||
| distfiles | ||
| use_configure no | ||
| depends_run port:p${perl_branch}-image-exiftool | ||
| build {} | ||
|
|
||
| destroot { | ||
| xinstall -d ${destroot}${prefix}/bin | ||
| ln -s ${prefix}/bin/exiftool-${perl_branch} ${destroot}${prefix}/bin/exiftool | ||
| } | ||
| } | ||
| livecheck.regex ${perl5.module}-(\[0-9.\]+)${extract.suffix} |