source: trunk/dports/security/pdfparser/Portfile

Last change on this file was 151662, checked in by mf2k@…, 11 months ago

chaosreader daemonlogger libcdata libcdatetime libcerror libcfile libclocale libcnotify libcsplit libcstring libcthreads log2timeline logsentry masscan openfpc openvpn openvpn2 p5-file-mork p5-parse-win32registry pads pdfid pdfparser rekall snort tcpdstat tcpxtract volatility: Ports abandoned. (#52039)

  • 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 151662 2016-08-19 14:16:01Z 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         nomaintainer
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.