aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2013-05-30 01:36:03 +0800
committerbf <bf@FreeBSD.org>2013-05-30 01:36:03 +0800
commitf0465aa2f62c9718a21b6eb23567fc8ea6fff4e8 (patch)
treebbb79a290fd42ac14db3cda129b73685f9087162 /devel
parenta0bfbcec31663c74179c4adf1ff7420c6e79de16 (diff)
downloadfreebsd-ports-gnome-f0465aa2f62c9718a21b6eb23567fc8ea6fff4e8.tar.gz
freebsd-ports-gnome-f0465aa2f62c9718a21b6eb23567fc8ea6fff4e8.tar.zst
freebsd-ports-gnome-f0465aa2f62c9718a21b6eb23567fc8ea6fff4e8.zip
Update to 1.7.1
Diffstat (limited to 'devel')
-rw-r--r--devel/udis86/Makefile46
-rw-r--r--devel/udis86/distinfo4
-rw-r--r--devel/udis86/files/patch-tests__Makefile.in11
3 files changed, 47 insertions, 14 deletions
diff --git a/devel/udis86/Makefile b/devel/udis86/Makefile
index 897ecfea115c..071a66e0d898 100644
--- a/devel/udis86/Makefile
+++ b/devel/udis86/Makefile
@@ -1,28 +1,50 @@
-# New ports collection makefile for: udis86
-# Date created: 7 June 2006
-# Whom: Lutz Boehne <lboehne@damogran.de>
-#
+# Created by: Lutz Boehne <lboehne@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@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>
diff --git a/devel/udis86/distinfo b/devel/udis86/distinfo
index 2dc2f23d6eea..96c149f090bc 100644
--- a/devel/udis86/distinfo
+++ b/devel/udis86/distinfo
@@ -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
diff --git a/devel/udis86/files/patch-tests__Makefile.in b/devel/udis86/files/patch-tests__Makefile.in
new file mode 100644
index 000000000000..07e6e3264d35
--- /dev/null
+++ b/devel/udis86/files/patch-tests__Makefile.in
@@ -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