Ticket #43575: Portfile

File Portfile, 1.1 KB (added by jul_bsd@…, 10 years ago)
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5
6name                pdfid
7version             0.1.2
8categories          security
9platforms           darwin
10maintainers         yahoo.fr:jul_bsd openmaintainer
11license             { Public Domain }
12
13description         Tool to test a PDF file
14long_description    ${description}
15
16supported_archs     noarch
17
18homepage            http://blog.didierstevens.com/programs/pdf-tools/#pdfid
19master_sites        http://didierstevens.com/files/software/
20distname            ${name}_v0_1_2
21use_zip             yes
22
23checksums           rmd160  e0d9ab936eb0d807332e5e03e2281cd8bdc92ec4 \
24                    sha256  1cf36c50427a2206275c322a8c098cd96a844caf6077b105ade9b1974789856f
25
26worksrcdir           .
27
28use_configure        no
29build {}
30
31destroot {
32    xinstall -m 755 ${worksrcpath}/pdfid.py ${destroot}${prefix}/bin/
33}
34
35livecheck.type      regex
36livecheck.url       ${homepage}
37## FIXME! how to convert version w underscore to dot?
38livecheck.regex     "target=\"_self\">pdfid_v(\\d+_\\d+_\\d+).zip</a>"
39
40