Skip to content
Permalink
Browse files

exiftool: restore as a separate port with perl variants

* add variants +perl5_26 +perl5_28
* add link to associated exiftool man page
  • Loading branch information
dbevans committed Apr 7, 2019
1 parent ca12145 commit 63d2bce56616e9cfd1345e774439b92631e676f8
Showing with 45 additions and 0 deletions.
  1. +45 −0 perl/exiftool/Portfile
@@ -0,0 +1,45 @@
# -*- 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 exiftool

perl5.branches 5.26 5.28

perl5.require_variant yes
perl5.conflict_variants yes
perl5.create_variants ${perl5.branches}

perl5.setup Image-ExifTool 11.33
revision 1

license {Artistic-1 GPL}
maintainers {devans @dbevans} openmaintainer
platforms darwin
supported_archs noarch

description General command line utility to read, write and edit EXIF metadata
long_description ${description}

homepage http://exiftool.sourceforge.net/

distname
distfiles

depends_lib port:p${perl5.major}-image-exiftool

use_configure no
build {}

destroot {
# this directory is required to keep portgroup perl5 happy even if nothing is installed in it
# it will be removed at the end of destroot with other empty directories
xinstall -d ${destroot}/${prefix}/lib/perl5/vendor_perl/${perl5.major}
ln -s ${prefix}/libexec/perl${perl5.major}/exiftool ${destroot}${prefix}/bin/exiftool
ln -s ${prefix}/share/perl${perl5.major}/man/man1/exiftool.1pm ${destroot}${prefix}/share/man/man1/exiftool.1pm
}

livecheck.url ${homepage}
livecheck.regex ${perl5.module}-(\[0-9.\]+)${extract.suffix}

0 comments on commit 63d2bce

Please sign in to comment.
You can’t perform that action at this time.