[111388] trunk/dports/devel/udis86
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 19 19:14:24 PDT 2013
Revision: 111388
https://trac.macports.org/changeset/111388
Author: ryandesign at macports.org
Date: 2013-09-19 19:14:24 -0700 (Thu, 19 Sep 2013)
Log Message:
-----------
udis86: use a patchfile instead of a reinplace
Modified Paths:
--------------
trunk/dports/devel/udis86/Portfile
Added Paths:
-----------
trunk/dports/devel/udis86/files/
trunk/dports/devel/udis86/files/patch-docdir.diff
Modified: trunk/dports/devel/udis86/Portfile
===================================================================
--- trunk/dports/devel/udis86/Portfile 2013-09-19 23:39:38 UTC (rev 111387)
+++ trunk/dports/devel/udis86/Portfile 2013-09-20 02:14:24 UTC (rev 111388)
@@ -9,10 +9,10 @@
maintainers nomaintainer
supported_archs i386 x86_64
-
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 \
@@ -34,14 +34,12 @@
depends_lib port:python27 \
port:yasm
+patchfiles patch-docdir.diff
+
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 \
Added: trunk/dports/devel/udis86/files/patch-docdir.diff
===================================================================
--- trunk/dports/devel/udis86/files/patch-docdir.diff (rev 0)
+++ trunk/dports/devel/udis86/files/patch-docdir.diff 2013-09-20 02:14:24 UTC (rev 111388)
@@ -0,0 +1,16 @@
+--- docs/manual/Makefile.am.orig 2013-09-01 23:16:37.000000000 -0500
++++ docs/manual/Makefile.am 2013-09-19 21:11:43.000000000 -0500
+@@ -1,4 +1,4 @@
+-docdir = ${datadir}/docs/udis86/manual
++docdir = ${datadir}/doc/udis86/manual
+
+ rst_sources = \
+ index.rst \
+--- docs/x86/Makefile.am.orig 2013-09-01 23:16:37.000000000 -0500
++++ docs/x86/Makefile.am 2013-09-19 21:11:43.000000000 -0500
+@@ -1,4 +1,4 @@
+-docdir = ${datadir}/docs/udis86/x86
++docdir = ${datadir}/doc/udis86/x86
+ dist_doc_DATA = optable.xml optable.xsl
+
+ MAINTAINERCLEANFILES = Makefile.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130919/3920ecd1/attachment-0001.html>
More information about the macports-changes
mailing list