Ticket #43576: Portfile

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