[111374] trunk/dports/devel/udis86/Portfile
g5pw at macports.org
g5pw at macports.org
Thu Sep 19 12:16:36 PDT 2013
Revision: 111374
https://trac.macports.org/changeset/111374
Author: g5pw at macports.org
Date: 2013-09-19 12:16:36 -0700 (Thu, 19 Sep 2013)
Log Message:
-----------
devel/udis86:
update to 1.7.2 (fixes #40509)
update description
update master_sites (upstream moved to github)
add docs variant
Modified Paths:
--------------
trunk/dports/devel/udis86/Portfile
Modified: trunk/dports/devel/udis86/Portfile
===================================================================
--- trunk/dports/devel/udis86/Portfile 2013-09-19 17:48:37 UTC (rev 111373)
+++ trunk/dports/devel/udis86/Portfile 2013-09-19 19:16:36 UTC (rev 111374)
@@ -2,29 +2,57 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
-name udis86
-version 1.7
+github.setup vmt udis86 1.7.2 v
categories devel
maintainers nomaintainer
supported_archs i386 x86_64
-description Minimalistic disassembler library for x86 and AMD64 (x86-64)
-long_description Udis86 is an easy-to-use minimalistic disassembler library \
- (libudis86) for the x86 and AMD64 (x86-64) range of \
- instruction set architectures. The primary intent of the \
- design and development of udis86 is to aid software \
- development projects that entail binary code analysis.
+description Udis86 is a disassembler engine that interprets and decodes \
+ a stream of binary machine code bytes as opcodes defined in \
+ the x86 and x86-64 class of Instruction Set Archictures.
+long_description ${description} The core component of this project is \
+ libudis86 which provides a clean and simple interface \
+ to disassemble binary code, and to inspect the disassembly \
+ to various degrees of details. The library is designed to \
+ aid software projects that entail analysis and manipulation \
+ of all flavors of x86 binary code.
homepage http://udis86.sourceforge.net/
+license BSD
platforms darwin
-master_sites sourceforge
-checksums md5 e279108e10f774e6c3af83caa18f5dc3 \
- sha1 1a9949e33024542a24a948af5d9cbee34ff64695 \
- rmd160 42f39d8c2c6941913e18a85777d157825e6d1d33
+checksums rmd160 9a6e32651cb2ed36f2d6e0640b43c8cf6a3f9de5 \
+ sha256 e525c50207ab5fa57c0e176f676324b22bb5e4af6d07ddbe47e3c0c728290d45
universal_variant no
-configure.args --enable-shared
+use_autoreconf yes
+
+depends_lib port:python27 \
+ port:yasm
+
+configure.args --with-yasm=${prefix}/bin/yasm \
+ --with-python=${frameworks_dir}/Python.framework/Versions/2.7/bin/python \
+ --enable-shared
+
+patch {
+ reinplace "s/docs/doc/" docs/manual/Makefile.am docs/x86/Makefile.am
+}
+
+post-destroot {
+ if {[variant_isset docs]} {
+ move ${worksrcpath}/docs/manual/html \
+ ${workpath}/${destdir}${prefix}/share/doc/${name}/manual
+ }
+}
+
+variant docs description {Compile HTML documentation (uses py27-sphinx)} {
+ depends_build-append port:py27-sphinx
+ configure.args-append --with-sphinx-build=${prefix}/bin/sphinx-build-2.7
+
+ build.target-append html
+
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130919/c39a1919/attachment.html>
More information about the macports-changes
mailing list