source: trunk/dports/security/pdfparser/Portfile @ 119734

Last change on this file since 119734 was 119734, checked in by ryandesign@…, 4 years ago

pdfparser: new port, version 0.4.3 (#43576)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
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: Portfile 119734 2014-05-05 07:36:22Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pdfparser
7version             0.4.3
8set my_version      [strsed ${version} {g/\./_/}]
9categories          security
10platforms           darwin
11maintainers         yahoo.fr:jul_bsd openmaintainer
12license             public-domain
13
14description         parse a PDF document to identify the fundamental elements used
15long_description    ${description}
16
17supported_archs     noarch
18
19homepage            http://blog.didierstevens.com/programs/pdf-tools/#pdfid
20master_sites        http://didierstevens.com/files/software/
21distname            pdf-parser_V${my_version}
22use_zip             yes
23
24checksums           rmd160  e07067992f3f12966565b75d60e7cc8fd8a615ec \
25                    sha256  1416624938359fdd375108d922350d1b7b0e41b3a40a48f778d6d72d8a405de6
26
27extract.mkdir       yes
28
29use_configure       no
30build {}
31
32destroot {
33    xinstall -m 755 ${worksrcpath}/pdf-parser.py ${destroot}${prefix}/bin/
34}
35
36livecheck.type      regex
37livecheck.url       ${homepage}
38livecheck.version   ${my_version}
39livecheck.regex     "target=\"_self\">pdf-parser_V(\[0-9_\]+)${extract.suffix}</a>"
Note: See TracBrowser for help on using the repository browser.