source: trunk/dports/devel/udis86/Portfile

Last change on this file was 131433, checked in by ryandesign@…, 3 years ago

udis86: fix typo in description

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
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: Portfile 131433 2015-01-12 05:40:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        vmt udis86 1.7.2 v
8categories          devel
9maintainers         nomaintainer
10supported_archs     i386 x86_64
11
12description         Udis86 is a disassembler engine that interprets and decodes \
13                    a stream of binary machine code bytes as opcodes defined in \
14                    the x86 and x86-64 class of Instruction Set Architectures.
15
16long_description    ${description} The core component of this project is \
17                    libudis86 which provides a clean and simple interface \
18                    to disassemble binary code, and to inspect the disassembly \
19                    to various degrees of details. The library is designed to \
20                    aid software projects that entail analysis and manipulation \
21                    of all flavors of x86 binary code.
22
23homepage            http://udis86.sourceforge.net/
24license             BSD
25platforms           darwin
26
27checksums           rmd160  9a6e32651cb2ed36f2d6e0640b43c8cf6a3f9de5 \
28                    sha256  e525c50207ab5fa57c0e176f676324b22bb5e4af6d07ddbe47e3c0c728290d45
29
30universal_variant   no
31
32use_autoreconf      yes
33
34depends_lib         port:python27 \
35                    port:yasm
36
37patchfiles          patch-docdir.diff
38
39configure.args      --with-yasm=${prefix}/bin/yasm \
40                    --with-python=${frameworks_dir}/Python.framework/Versions/2.7/bin/python \
41                    --enable-shared
42
43post-destroot {
44    if {[variant_isset docs]} {
45        move ${worksrcpath}/docs/manual/html \
46                ${workpath}/${destdir}${prefix}/share/doc/${name}/manual
47    }
48}
49
50variant docs description {Compile HTML documentation (uses py27-sphinx)} {
51    depends_build-append        port:py27-sphinx
52    configure.args-append       --with-sphinx-build=${prefix}/bin/sphinx-build-2.7
53
54    build.target-append         html
55
56}
Note: See TracBrowser for help on using the repository browser.