svn commit: r319385 - in head/devel/udis86: . files
Brendan Fabeny
bf at FreeBSD.org
Wed May 29 17:36:04 UTC 2013
Author: bf
Date: Wed May 29 17:36:03 2013
New Revision: 319385
URL: http://svnweb.freebsd.org/changeset/ports/319385
Log:
Update to 1.7.1
Added:
head/devel/udis86/files/patch-tests__Makefile.in (contents, props changed)
Modified:
head/devel/udis86/Makefile (contents, props changed)
head/devel/udis86/distinfo (contents, props changed)
Modified: head/devel/udis86/Makefile
==============================================================================
--- head/devel/udis86/Makefile Wed May 29 17:35:50 2013 (r319384)
+++ head/devel/udis86/Makefile Wed May 29 17:36:03 2013 (r319385)
@@ -1,28 +1,50 @@
-# New ports collection makefile for: udis86
-# Date created: 7 June 2006
-# Whom: Lutz Boehne <lboehne at damogran.de>
-#
+# Created by: Lutz Boehne <lboehne at damogran.de>
# $FreeBSD$
-#
PORTNAME= udis86
-PORTVERSION= 1.7
+PORTVERSION= 1.7.1
CATEGORIES= devel
MASTER_SITES= SF
+MASTER_SITE_SUBDIR= ${PORTNAME:L}/${PORTNAME:L}/${PORTVERSION:R}
MAINTAINER= bf at FreeBSD.org
COMMENT= Minimalistic x86 and x86-64 disassembler library
+LICENSE= BSD
+
+USE_GMAKE= yes
+
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-sphinx-build
+
+INFO= udis86
+PORTDOCS= x86
+
+.include <bsd.port.options.mk>
-.if !defined(NOPORTDOCS)
-PORTDOCS= index.html ss.jpg style.css udis86.odt udis86.pdf x86optable.xml x86optable.xsl
-.else
post-patch:
- ${REINPLACE_CMD} -e '/SUBDIRS \=/s/\. docs//' ${WRKSRC}/Makefile.in
+.if ${PORT_OPTIONS:MDOCS}
+ @${REINPLACE_CMD} -e '\|docdir =|s|/docs/|/doc/|' \
+ ${WRKSRC}/docs/manual/Makefile.in \
+ ${WRKSRC}/docs/x86/Makefile.in
+.else
+ @${REINPLACE_CMD} -e '/SUBDIRS \=/s/ docs//' ${WRKSRC}/Makefile.in
+.endif
+
+.if defined(MAINTAINER_MODE) || defined(PACKAGE_BUILDING)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
+CONFIGURE_ENV+= PYTHON="${PYTHON_CMD}" YASM="${LOCALBASE}/bin/yasm"
+USE_PYTHON_BUILD= yes
+
+check regression-test test: build
+ @cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} check
+
+.else
+CONFIGURE_ARGS+= --without-yasm
+CONFIGURE_ENV+= PYTHON="${FALSE}"
.endif
-regression-test: build
- @(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} check)
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/docs/manual/udis86.info ${PREFIX}/${INFO_PATH}/
.include <bsd.port.mk>
Modified: head/devel/udis86/distinfo
==============================================================================
--- head/devel/udis86/distinfo Wed May 29 17:35:50 2013 (r319384)
+++ head/devel/udis86/distinfo Wed May 29 17:36:03 2013 (r319385)
@@ -1,2 +1,2 @@
-SHA256 (udis86-1.7.tar.gz) = 6128d266abcabed6077fdeebd2fbb7fb48eb599efbdae98922de2f6acd82ce3a
-SIZE (udis86-1.7.tar.gz) = 696651
+SHA256 (udis86-1.7.1.tar.gz) = 1d76cb3af62e262178c36c7704cfe35e87115a0cc4401f9592f4d6c9e2dc0584
+SIZE (udis86-1.7.1.tar.gz) = 442463
Added: head/devel/udis86/files/patch-tests__Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/udis86/files/patch-tests__Makefile.in Wed May 29 17:36:03 2013 (r319385)
@@ -0,0 +1,11 @@
+--- tests/Makefile.in.orig 2013-05-26 20:58:37.000000000 -0400
++++ tests/Makefile.in 2013-05-29 11:18:38.000000000 -0400
+@@ -674,7 +674,7 @@
+
+ .PHONY: test-sym-resolver
+ test-sym-resolver: symresolve
+- @$(top_builddir)/tests/$< > $@.out
++ @$(top_builddir)/tests/symresolve > $@.out
+ @diff -w $(srcdir)/symresolve.ref $@.out && echo "$@: passed."
+
+ .PHONY: oprtest
More information about the svn-ports-head
mailing list