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-core |
---|
7 | version 1.3.3 |
---|
8 | categories python |
---|
9 | platforms darwin |
---|
10 | license GPL-2 |
---|
11 | maintainers nomaintainer |
---|
12 | description Library represents binary file as a tree of Python objects |
---|
13 | long_description Hachoir is a Python library used to represent of a binary file as a tree of \ |
---|
14 | Python objects. Each object has a type, a value, an address, etc. The goal \ |
---|
15 | is to be able to know the meaning of each bit in a file. |
---|
16 | |
---|
17 | homepage http://pypi.python.org/pypi/hachoir-core |
---|
18 | master_sites http://pypi.python.org/packages/source/h/hachoir-core/ |
---|
19 | distname hachoir-core-${version} |
---|
20 | |
---|
21 | checksums md5 b80f0257536e2b2cb23f66670c4f6f31 \ |
---|
22 | sha256 ecf5d16eccc76b22071d6062e54edb67595f70d827644d3a6dff04289b4058df |
---|
23 | |
---|
24 | depends_lib port:python27 |
---|
25 | |
---|
26 | livecheck.type regex |
---|
27 | livecheck.url http://pypi.python.org/packages/source/h/hachoir-core/ |
---|
28 | livecheck.regex {hachoir-core-(\d+(?:\.\d+)*)\.tar\.gz} |
---|
29 | |
---|
30 | configure.python ${prefix}/bin/python2.7 |
---|
31 | set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7 |
---|
32 | configure.pre_args-delete --prefix=${prefix} |
---|
33 | configure.pre_args-append --prefix=${python_prefix} |
---|
34 | configure.args-append --includedir=${python_prefix}/include/python2.7 |
---|
35 | |
---|
36 | build {} |
---|