From f0ea01821cacd6f7298ea3948967695bb629efbc Mon Sep 17 00:00:00 2001 From: wxs Date: Wed, 21 May 2008 17:08:49 +0000 Subject: Update to 0.23 and pass maintainership to submiter. PR: ports/123667 Submitted by: bf Approved by: garga (mentor, implicit), lboehne@damogran.de (maintainer) --- devel/libdisasm/Makefile | 37 ++++++++++-------------------------- devel/libdisasm/distinfo | 6 +++--- devel/libdisasm/files/patch-Makefile | 33 -------------------------------- devel/libdisasm/pkg-plist | 10 ++++------ 4 files changed, 17 insertions(+), 69 deletions(-) delete mode 100644 devel/libdisasm/files/patch-Makefile (limited to 'devel/libdisasm') diff --git a/devel/libdisasm/Makefile b/devel/libdisasm/Makefile index 86b4aac24907..f55a2e120c18 100644 --- a/devel/libdisasm/Makefile +++ b/devel/libdisasm/Makefile @@ -6,50 +6,33 @@ # PORTNAME= libdisasm -PORTVERSION= 0.21 -PORTREVISION= 1 +PORTVERSION= 0.23 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= bastard -DISTNAME= libdisasm-0.21-pre3 -EXTRACT_SUFX= .tgz -MAINTAINER= lboehne@damogran.de -COMMENT= The Bastard Disassembly Environment x86 disassembler library +MAINTAINER= bf2006a@yahoo.com +COMMENT= The Bastard Disassembly Environment x86 disassembler library and CLI -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +GNU_CONFIGURE= yes USE_GMAKE= yes USE_LDCONFIG= yes ONLY_FOR_ARCHS= i386 -post-patch: - ${REINPLACE_CMD} -e 's, make, gmake,' ${WRKSRC}/Makefile - -.if !defined(NOPORTDOCS) -DOCSDIR= ${DATADIR}/doc -DOCS= libdisasm.txt +.ifndef(NOPORTDOCS) +PORTDOCS= libdisasm.txt .endif +MAN1= x86dis.1 MAN3= x86_disasm.3 x86_format_insn.3 x86_init.3 MAN7= libdisasm.7 -do-install: - ${INSTALL_DATA} ${WRKSRC}/libdisasm/libdisasm.so ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/libdisasm/libdisasm.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/libdisasm/libdis.h ${PREFIX}/include - ${MKDIR} ${DATADIR}/data - ${INSTALL_DATA} ${WRKSRC}/libdisasm/ia32_opcode.dat ${DATADIR}/data -.if !defined(NOPORTDOCS) -.for i in ${DOCS} +post-install: +.ifndef(NOPORTDOCS) ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR} .endfor .endif -.for i in ${MAN3} - ${INSTALL_MAN} ${WRKSRC}/man/${i} ${PREFIX}/man/man3 -.endfor -.for i in ${MAN7} - ${INSTALL_MAN} ${WRKSRC}/man/${i} ${PREFIX}/man/man7 -.endfor .include diff --git a/devel/libdisasm/distinfo b/devel/libdisasm/distinfo index cd7fdf559bc9..739d8384e9d4 100644 --- a/devel/libdisasm/distinfo +++ b/devel/libdisasm/distinfo @@ -1,3 +1,3 @@ -MD5 (libdisasm-0.21-pre3.tgz) = c3313485ec8cebb7646518a10c3101dc -SHA256 (libdisasm-0.21-pre3.tgz) = f56a4a07ee8107815e87af3bd7da6348dea91f16ab40a0d90d5a028ef556be90 -SIZE (libdisasm-0.21-pre3.tgz) = 198158 +MD5 (libdisasm-0.23.tar.gz) = fc813fae8fceca92c2e40dac1da69041 +SHA256 (libdisasm-0.23.tar.gz) = de3e578aa582af6e1d7729f39626892fb72dc6573658a221e0905f42a65433da +SIZE (libdisasm-0.23.tar.gz) = 454721 diff --git a/devel/libdisasm/files/patch-Makefile b/devel/libdisasm/files/patch-Makefile deleted file mode 100644 index e5f699a27fd8..000000000000 --- a/devel/libdisasm/files/patch-Makefile +++ /dev/null @@ -1,33 +0,0 @@ ---- Makefile.old Sat Apr 29 02:16:24 2006 -+++ Makefile Thu Jan 18 01:01:08 2007 -@@ -48,7 +48,7 @@ - # ============================================================================ - # TARGETS - --all: $(LIBDIS) $(X86DIS) $(TESTDIS) swig-modules -+all: $(LIBDIS) - dummy: x86dis libdisasm test dist swig-modules install clean - - # ------------------------------------------------------- LIBDIS -@@ -86,15 +86,15 @@ - cd swig && make clean - - # ------------------------------------------------------- INSTALL --install: $(LIBDIS) $(X86DIS) -+install: $(LIBDIS) - #swig-install - # install bindistrib files to INSTALL_LOC - cd libdisasm && make install -- cd x86dis && make install -- cd man && make install -- cd doc && make install -- cd perl && make install -- cd swig && make install -+ #cd x86dis && make install -+ #cd man && make install -+ #cd doc && make install -+ #cd perl && make install -+ #cd swig && make install - - uninstall: - cd libdisasm && make uninstall diff --git a/devel/libdisasm/pkg-plist b/devel/libdisasm/pkg-plist index 4e83838b7076..94dcdaab8b78 100644 --- a/devel/libdisasm/pkg-plist +++ b/devel/libdisasm/pkg-plist @@ -1,8 +1,6 @@ +bin/x86dis +include/libdis.h lib/libdisasm.a +lib/libdisasm.la lib/libdisasm.so -include/libdis.h -%%DATADIR%%/data/ia32_opcode.dat -%%PORTDOCS%%%%DOCSDIR%%/libdisasm.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%DATADIR%%/data -@dirrm %%DATADIR%% +lib/libdisasm.so.0 -- cgit