PORTNAME= udis86 PORTVERSION= 1.7.2 PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= Minimalistic x86 and x86-64 disassembler library WWW= https://udis86.sourceforge.net/ LICENSE= BSD2CLAUSE USES= gmake libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-sphinx-build --enable-shared --without-yasm CONFIGURE_ENV= PYTHON="${FALSE}" USE_LDCONFIG= yes INSTALL_TARGET= install-strip INFO= udis86 PORTDOCS= x86 OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -Ee 's/function ([^#]+).*/\1 ()/' \ ${WRKSRC}/tests/difftest.sh.in post-patch-DOCS-on: @${REINPLACE_CMD} -e '\|docdir =|s|/docs/|/doc/|' \ ${WRKSRC}/docs/manual/Makefile.in \ ${WRKSRC}/docs/x86/Makefile.in post-patch-DOCS-off: @${REINPLACE_CMD} -e '/SUBDIRS \=/s/ docs//' ${WRKSRC}/Makefile.in post-install: ${INSTALL_DATA} ${WRKSRC}/docs/manual/udis86.info \ ${STAGEDIR}${PREFIX}/${INFO_PATH} .include