This updates udis86 to 1.7.2.

The patches are identical to what's in HEAD upstream and should be
removed once a new version comes out.

The manual has changed it's format and it's html which brings
a few more depenedencies and hacks in the Makefile.

Okay?


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/udis86/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile    11 Mar 2013 10:50:31 -0000      1.2
+++ Makefile    14 Sep 2014 04:50:24 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =      easy-to-use minimalistic disassembler library
 
-DISTNAME =     udis86-1.7
+DISTNAME =     udis86-1.7.2
 CATEGORIES =   devel
 
 SHARED_LIBS=   udis86          0.0
@@ -18,8 +18,22 @@ MASTER_SITES =       ${MASTER_SITE_SOURCEFORGE
 
 WANTLIB +=     c
 
+MODULES =      lang/python
+BUILD_DEPENDS =        lang/python/${MODPY_DEFAULT_VERSION_3} \
+               devel/yasm \
+               textproc/py-sphinx
+
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS +=      ${CONFIGURE_SHARED}
 MAKE_ENV =             LIBudis86_VERSION=${LIBudis86_VERSION}
+
+post-build:
+       @cd ${WRKBUILD}/docs/manual \
+               && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html-local
+
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/udis86/manual
+       cd ${WRKBUILD}/docs/manual/html && \
+               pax -rw * ${PREFIX}/share/doc/udis86/manual
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/udis86/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    13 May 2010 22:19:14 -0000      1.1.1.1
+++ distinfo    14 Sep 2014 04:50:24 -0000
@@ -1,5 +1,2 @@
-MD5 (udis86-1.7.tar.gz) = 4nkQjhD3dObDr4PKoY9dww==
-RMD160 (udis86-1.7.tar.gz) = QvOdjCxpQZE+GKhXd9FXgl5tHTM=
-SHA1 (udis86-1.7.tar.gz) = GplJ4zAkVCokqUivXZy+40/2RpU=
-SHA256 (udis86-1.7.tar.gz) = YSjSZqvKvtYHf97r0vu3+0jrWZ772umJIt4vas2Czjo=
-SIZE (udis86-1.7.tar.gz) = 696651
+SHA256 (udis86-1.7.2.tar.gz) = nFKsYmrG9THh1oKP6q1+eX0PPM4enzStToRicCKzwvQ=
+SIZE (udis86-1.7.2.tar.gz) = 445085
Index: patches/patch-docs_manual_Makefile_in
===================================================================
RCS file: patches/patch-docs_manual_Makefile_in
diff -N patches/patch-docs_manual_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-docs_manual_Makefile_in       14 Sep 2014 04:50:24 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- docs/manual/Makefile.in.orig       Sun Sep 14 07:22:50 2014
++++ docs/manual/Makefile.in    Sun Sep 14 07:22:53 2014
+@@ -179,7 +179,7 @@ build_vendor = @build_vendor@
+ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+-docdir = ${datadir}/docs/udis86/manual
++docdir = ${datadir}/doc/udis86/manual
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
Index: patches/patch-docs_x86_Makefile_in
===================================================================
RCS file: patches/patch-docs_x86_Makefile_in
diff -N patches/patch-docs_x86_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-docs_x86_Makefile_in  14 Sep 2014 04:50:24 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- docs/x86/Makefile.in.orig  Sun Sep 14 07:23:12 2014
++++ docs/x86/Makefile.in       Sun Sep 14 07:23:17 2014
+@@ -210,7 +210,7 @@ build_vendor = @build_vendor@
+ builddir = @builddir@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+-docdir = ${datadir}/docs/udis86/x86
++docdir = ${datadir}/doc/udis86/x86
+ dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/udis86/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   13 May 2010 22:19:14 -0000      1.1.1.1
+++ pkg/PLIST   14 Sep 2014 04:50:24 -0000
@@ -9,10 +9,49 @@ include/udis86.h
 lib/libudis86.a
 lib/libudis86.la
 share/doc/udis86/
-share/doc/udis86/index.html
-share/doc/udis86/ss.jpg
-share/doc/udis86/style.css
-share/doc/udis86/udis86.odt
-share/doc/udis86/udis86.pdf
-share/doc/udis86/x86optable.xml
-share/doc/udis86/x86optable.xsl
+share/doc/udis86/manual/
+share/doc/udis86/manual/_sources/
+share/doc/udis86/manual/_sources/getstarted.txt
+share/doc/udis86/manual/_sources/index.txt
+share/doc/udis86/manual/_sources/libudis86.txt
+share/doc/udis86/manual/_static/
+share/doc/udis86/manual/_static/ajax-loader.gif
+share/doc/udis86/manual/_static/basic.css
+share/doc/udis86/manual/_static/comment-bright.png
+share/doc/udis86/manual/_static/comment-close.png
+share/doc/udis86/manual/_static/comment.png
+share/doc/udis86/manual/_static/dialog-note.png
+share/doc/udis86/manual/_static/dialog-seealso.png
+share/doc/udis86/manual/_static/dialog-topic.png
+share/doc/udis86/manual/_static/dialog-warning.png
+share/doc/udis86/manual/_static/doctools.js
+share/doc/udis86/manual/_static/down-pressed.png
+share/doc/udis86/manual/_static/down.png
+share/doc/udis86/manual/_static/epub.css
+share/doc/udis86/manual/_static/file.png
+share/doc/udis86/manual/_static/footerbg.png
+share/doc/udis86/manual/_static/headerbg.png
+share/doc/udis86/manual/_static/ie6.css
+share/doc/udis86/manual/_static/jquery.js
+share/doc/udis86/manual/_static/middlebg.png
+share/doc/udis86/manual/_static/minus.png
+share/doc/udis86/manual/_static/plus.png
+share/doc/udis86/manual/_static/pygments.css
+share/doc/udis86/manual/_static/pyramid.css
+share/doc/udis86/manual/_static/searchtools.js
+share/doc/udis86/manual/_static/transparent.gif
+share/doc/udis86/manual/_static/udis86.css
+share/doc/udis86/manual/_static/underscore.js
+share/doc/udis86/manual/_static/up-pressed.png
+share/doc/udis86/manual/_static/up.png
+share/doc/udis86/manual/_static/websupport.js
+share/doc/udis86/manual/genindex.html
+share/doc/udis86/manual/getstarted.html
+share/doc/udis86/manual/index.html
+share/doc/udis86/manual/libudis86.html
+share/doc/udis86/manual/objects.inv
+share/doc/udis86/manual/search.html
+share/doc/udis86/manual/searchindex.js
+share/doc/udis86/x86/
+share/doc/udis86/x86/optable.xml
+share/doc/udis86/x86/optable.xsl

Reply via email to