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 pdfparser |
---|
7 | version 0.4.3 |
---|
8 | categories security |
---|
9 | platforms darwin |
---|
10 | maintainers yahoo.fr:jul_bsd openmaintainer |
---|
11 | license { Public Domain } |
---|
12 | |
---|
13 | description parse a PDF document to identify the fundamental elements used |
---|
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 pdf-parser_V0_4_3 |
---|
21 | use_zip yes |
---|
22 | |
---|
23 | checksums rmd160 e07067992f3f12966565b75d60e7cc8fd8a615ec \ |
---|
24 | sha256 1416624938359fdd375108d922350d1b7b0e41b3a40a48f778d6d72d8a405de6 |
---|
25 | |
---|
26 | worksrcdir . |
---|
27 | |
---|
28 | use_configure no |
---|
29 | build {} |
---|
30 | |
---|
31 | destroot { |
---|
32 | xinstall -m 755 ${worksrcpath}/pdf-parser.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\">pdf-parser_V(\\d+_\\d+_\\d+).zip</a>" |
---|
39 | |
---|
40 | |
---|