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 97300 2012-09-03 03:05:48Z rmstonecipher@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libharu |
---|
7 | version 2.2.1 |
---|
8 | revision 1 |
---|
9 | categories print |
---|
10 | platforms darwin |
---|
11 | maintainers and.damore openmaintainer |
---|
12 | license zlib |
---|
13 | |
---|
14 | description a free, cross platform, open source library for generating PDF files |
---|
15 | long_description ${description} supporting the following features: \ |
---|
16 | 1. Generating PDF files with lines, text, images. \ |
---|
17 | 2. Outline, text annotation, link annotation. \ |
---|
18 | 3. Compressing document with deflate-decode. \ |
---|
19 | 4. Embedding PNG, Jpeg images. \ |
---|
20 | 5. Embedding Type1 font and TrueType font. \ |
---|
21 | 6. Creating encrypted PDF files. \ |
---|
22 | 7. Using various character sets (ISO8859-1~16, MSCP1250~8, KOI8-R). \ |
---|
23 | 8. CJK fonts and encodings. |
---|
24 | |
---|
25 | homepage http://libharu.org |
---|
26 | master_sites ${homepage}/files/ |
---|
27 | |
---|
28 | use_bzip2 yes |
---|
29 | |
---|
30 | checksums md5 4febd7e677b1c5d54db59a608b84e79f \ |
---|
31 | sha1 bfea7d9df3fb6a112340d0d54731f62f53b26d2f \ |
---|
32 | rmd160 2f5b66b5e63d15039940fa9a38630b06e74a1360 |
---|
33 | |
---|
34 | depends_lib port:libpng \ |
---|
35 | port:zlib |
---|
36 | |
---|
37 | patchfiles patch-src-hpdf_image_png.c.diff |
---|
38 | |
---|
39 | configure.args-append --with-png=${prefix} \ |
---|
40 | --with-zlib=${prefix} |
---|
41 | |
---|
42 | livecheck.type regex |
---|
43 | livecheck.url [lindex ${master_sites} 0] |
---|
44 | livecheck.regex (?i)lib(?:haru|hpdf)-(\[0-9.\]+)${extract.suffix} |
---|