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