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 | PortSystem 1.0 |
---|
4 | PortGroup python27 1.0 |
---|
5 | |
---|
6 | name py27-hachoir-parser |
---|
7 | version 1.3.4 |
---|
8 | categories python |
---|
9 | platforms darwin |
---|
10 | license GPL-2 |
---|
11 | maintainers nomaintainer |
---|
12 | description 78 parser for common binary file formats using Hachoir framework |
---|
13 | long_description hachoir-parser is a package of most common file format parsers written for \ |
---|
14 | the Hachoir framework. Currently, 78 parsers are supported (some only partially). \ |
---|
15 | \ |
---|
16 | File System: \ |
---|
17 | ext2, fat12, fat16, fat32, iso9660, linux_swap, MBR, ntfs, ReiserFS \ |
---|
18 | Program: \ |
---|
19 | elf, exe, javac, EFI pifv, prc, pyc, pyo \ |
---|
20 | Archive: \ |
---|
21 | 7zip, ace, bzip2, cab, gzip, mar, rar, rpm, tar, unix_archive, zip \ |
---|
22 | Audio: \ |
---|
23 | aiff, fasttracker2, flac, itunesdb, midi, mod, \ |
---|
24 | MPEG-1 audio, ptm, ra, s3m, snd \ |
---|
25 | Container: \ |
---|
26 | asn1, mkv, ogg, rm, riff, swf \ |
---|
27 | Video: \ |
---|
28 | asf, flv, mov, MPEG-1/2 PS, MPEG-2 TS \ |
---|
29 | Game: \ |
---|
30 | blp1, blp2, lucasarts_font, spiderman_video, zsnes \ |
---|
31 | Image: \ |
---|
32 | bmp, gif, ico, jpeg/jpg, pcx, png, psd, tga, tiff, wmf, xcf \ |
---|
33 | Misc: \ |
---|
34 | 3do, 3ds, bplist, chm, gnomekeyring, hlp, lnk, ole2, pcf, pdf, \ |
---|
35 | tcpdump, torrent, ttf |
---|
36 | |
---|
37 | homepage http://pypi.python.org/pypi/hachoir-parser |
---|
38 | master_sites http://pypi.python.org/packages/source/h/hachoir-parser/ |
---|
39 | distname hachoir-parser-${version} |
---|
40 | |
---|
41 | checksums md5 e578b779c4b30d94ca4e775747877755 \ |
---|
42 | sha256 775be5e10d72c6122b1ba3202dfce153c09ebcb60080d8edbd51aa89aa4e6b3f |
---|
43 | |
---|
44 | depends_lib port:python27 \ |
---|
45 | port:py27-hachoir-core |
---|
46 | |
---|
47 | livecheck.type regex |
---|
48 | livecheck.url http://pypi.python.org/packages/source/h/hachoir-parser/ |
---|
49 | livecheck.regex {hachoir-parser-(\d+(?:\.\d+)*)\.tar\.gz} |
---|
50 | |
---|
51 | configure.python ${prefix}/bin/python2.7 |
---|
52 | set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7 |
---|
53 | configure.pre_args-delete --prefix=${prefix} |
---|
54 | configure.pre_args-append --prefix=${python_prefix} |
---|
55 | configure.args-append --includedir=${python_prefix}/include/python2.7 |
---|
56 | |
---|
57 | build {} |
---|