Files
2026-03-14 16:37:29 -04:00

40 lines
1.2 KiB
Tcl

# -*- 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
PortSystem 1.0
name pdfparser
version 0.7.14
set my_version [string map {. _} ${version}]
categories security
platforms any
maintainers nomaintainer
license public-domain
description parse a PDF document to identify the fundamental elements used
long_description {*}${description}
supported_archs noarch
homepage http://blog.didierstevens.com/programs/pdf-tools/#pdfid
master_sites http://didierstevens.com/files/software/
distname pdf-parser_V${my_version}
use_zip yes
checksums rmd160 27bb7209840a374bfe504f884d928aa3ab8daa4d \
sha256 6a60223d52b75f8aff8c8cf19a58699a20829ac758c251b405b08ec734ef6a4a \
size 16654
extract.mkdir yes
use_configure no
build {}
destroot {
xinstall -m 755 ${worksrcpath}/pdf-parser.py ${destroot}${prefix}/bin/
}
livecheck.type regex
livecheck.url ${homepage}
livecheck.version ${my_version}
livecheck.regex "target=\"_self\">pdf-parser_V(\[0-9_\]+)${extract.suffix}</a>"