Ticket #40509: Portfile.diff

File Portfile.diff, 2.9 KB (added by g5pw (Aljaž Srebrnič), 11 years ago)
  • opt/local/var/macports/sources/svn.macports.org/dports/devel/udis86/Portfile

     
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    34PortSystem          1.0
     5PortGroup           github 1.0
    46
    5 name                udis86
    6 version             1.7
     7github.setup        vmt udis86 1.7.2 v
    78categories          devel
    89maintainers         gmail.com:leeharple
    9 description         Minimalistic disassembler library for x86 and AMD64 (x86-64)
    1010
    11 long_description    Udis86 is an easy-to-use minimalistic disassembler library \
    12                     (libudis86) for the x86 and AMD64 (x86-64) range of \
    13                     instruction set architectures. The primary intent of the \
    14                     design and development of udis86 is to aid software \
    15                     development projects that entail binary code analysis.
     11description         Udis86 is a disassembler engine that interprets and decodes \
     12                    a stream of binary machine code bytes as opcodes defined in \
     13                    the x86 and x86-64 class of Instruction Set Archictures.
     14long_description    ${description} The core component of this project is \
     15                    libudis86 which provides a clean and simple interface \
     16                    to disassemble binary code, and to inspect the disassembly \
     17                    to various degrees of details. The library is designed to \
     18                    aid software projects that entail analysis and manipulation \
     19                    of all flavors of x86 binary code.
    1620
    1721homepage            http://udis86.sourceforge.net/
    1822platforms           darwin
    19 master_sites        sourceforge
    2023
    21 checksums           md5 e279108e10f774e6c3af83caa18f5dc3 \
    22                     sha1 1a9949e33024542a24a948af5d9cbee34ff64695 \
    23                     rmd160 42f39d8c2c6941913e18a85777d157825e6d1d33
    24                    
    25 universal_variant   no
     24checksums           rmd160  9a6e32651cb2ed36f2d6e0640b43c8cf6a3f9de5 \
     25                    sha256  e525c50207ab5fa57c0e176f676324b22bb5e4af6d07ddbe47e3c0c728290d45
     26
     27use_autoreconf      yes
    2628
    27 configure.args      --enable-shared
     29depends_lib         port:python27 \
     30                    port:yasm
    2831
     32configure.args      --with-yasm=${prefix}/bin/yasm \
     33                    --with-python=${frameworks_dir}/Python.framework/Versions/2.7/bin/python
     34
     35post-destroot {
     36    move ${destroot}${prefix}/lib/lib${name}.a ${destroot}${prefix}/lib/lib${name}.dylib
     37}
     38                   
    2939platform powerpc {
    3040    pre-fetch {
    3141        return -code error "${name} is not supported on the PPC architecture."