# -*- 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 # $Id$ PortSystem 1.0 name pdfid version 0.1.2 set my_version [strsed ${version} {g/\./_/}] categories security platforms darwin maintainers nomaintainer license public-domain description Tool to test a PDF file long_description ${description} supported_archs noarch homepage http://blog.didierstevens.com/programs/pdf-tools/#pdfid master_sites http://didierstevens.com/files/software/ distname ${name}_v${my_version} use_zip yes checksums rmd160 e0d9ab936eb0d807332e5e03e2281cd8bdc92ec4 \ sha256 1cf36c50427a2206275c322a8c098cd96a844caf6077b105ade9b1974789856f extract.mkdir yes use_configure no build {} destroot { xinstall -m 755 ${worksrcpath}/pdfid.py ${destroot}${prefix}/bin/ } livecheck.type regex livecheck.url ${homepage} livecheck.version ${my_version} livecheck.regex "target=\"_self\">${name}_v(\[0-9_\]+)${extract.suffix}"