Ticket #33157: Portfile

File Portfile, 1.4 KB (added by m.haller@…, 13 years ago)

Portfile

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$
3PortSystem          1.0
4PortGroup           python27 1.0
5
6name                py27-hachoir-core
7version             1.3.3
8categories                      python
9platforms           darwin
10license                         GPL-2
11maintainers                     nomaintainer
12description                     Library represents binary file as a tree of Python objects
13long_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
17homepage                        http://pypi.python.org/pypi/hachoir-core
18master_sites            http://pypi.python.org/packages/source/h/hachoir-core/
19distname            hachoir-core-${version}
20
21checksums                       md5             b80f0257536e2b2cb23f66670c4f6f31 \
22                                        sha256  ecf5d16eccc76b22071d6062e54edb67595f70d827644d3a6dff04289b4058df
23
24depends_lib             port:python27
25
26livecheck.type      regex
27livecheck.url       http://pypi.python.org/packages/source/h/hachoir-core/
28livecheck.regex     {hachoir-core-(\d+(?:\.\d+)*)\.tar\.gz}
29
30configure.python    ${prefix}/bin/python2.7
31set python_prefix  ${frameworks_dir}/Python.framework/Versions/2.7
32configure.pre_args-delete  --prefix=${prefix}
33configure.pre_args-append  --prefix=${python_prefix}
34configure.args-append      --includedir=${python_prefix}/include/python2.7
35
36build {}