Commit 426dc39d authored by makc's avatar makc
Browse files

Add new port devel/edb:

edb (Evan's Debugger) is a cross platform x86/x86-64 debugger. It
was inspired by OllyDbg, but aims to function on x86 and x86-64 as
well as multiple OS's. Linux is the only officially supported
platform at the moment, but FreeBSD, OpenBSD, OSX and Windows ports
are underway with varying degrees of functionality.

WWW: http://codef00.com/projects#debugger

PR:		based on ports/170779
Submitted by:	HU Dong <itechbear at gmail.com>
parent 159f1f5b
......@@ -364,6 +364,7 @@
SUBDIR += ecore-ipc
SUBDIR += ecore-main
SUBDIR += ecos-tools
SUBDIR += edb
SUBDIR += eet
SUBDIR += eggdbus
SUBDIR += egypt
......
# $FreeBSD$
PORTNAME= edb
PORTVERSION= 0.9.18
CATEGORIES= devel
MASTER_SITES= http://codef00.com/projects/
DISTNAME= debugger-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= itechbear@gmail.com
COMMENT= Cross-platform x86/x86-64 debugger based on Qt 4
LICENSE= GPLv2
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
USE_QT4= gui network xml moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE= yes
QMAKE_ARGS= -recursive PREFIX=${PREFIX} \
DEFAULT_PLUGIN_PATH="${PREFIX}/libexec/${PORTNAME}"
WRKSRC= ${WRKDIR}/debugger
MAKE_JOBS_SAFE= yes
MAN1= edb.1
PORTDOCS= *
ONLY_FOR_ARCHS= i386 amd64
STRIP_FILES= bin/${PORTNAME} libexec/${PORTNAME}/*.so
.include <bsd.port.options.mk>
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKE_ARGS} ${QMAKEFLAGS}
post-install:
.if ${PORT_OPTIONS:MDOCS}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/edb.desktop ${PREFIX}/share/applications
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/src/images/edb48-logo.png ${PREFIX}/share/pixmaps/edb.png
${MKDIR} ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/edb.1 ${MANPREFIX}/man/man1/edb.1
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
.include <bsd.port.mk>
SHA256 (debugger-0.9.18.tgz) = dd046187ca6301265f1a2116919a3bf4af64c9ad3fa14809030abbfe82af7b43
SIZE (debugger-0.9.18.tgz) = 725688
--- ./plugins/plugins.pri.orig 2011-08-23 19:12:08.000000000 +0000
+++ ./plugins/plugins.pri 2012-09-13 21:26:13.620559681 +0000
@@ -6,6 +6,7 @@
#CONFIG += silent
DESTDIR = $$EDB_ROOT
INSTALLS += target
+target.path = $$DEFAULT_PLUGIN_PATH
DEFINES += EDB_PLUGIN
@@ -54,7 +55,6 @@
!macx {
INCLUDEPATH += $$EDB_ROOT/include/arch/$$QT_ARCH
DEPENDPATH += $$EDB_ROOT/include/arch/$$QT_ARCH
- include(plugins-$${QT_ARCH}.pri)
}
debug:OBJECTS_DIR = $${OUT_PWD}/.obj/debug-shared
--- ./src/src.pro.orig 2011-12-12 21:27:25.000000000 +0000
+++ ./src/src.pro 2012-09-13 21:26:00.215566381 +0000
@@ -5,7 +5,7 @@
INCLUDEPATH += ./widgets ../include
RESOURCES = debugger.qrc
DESTDIR = ../
-target.path = /bin/
+target.path = $$PREFIX/bin/
INSTALLS += target
QT += xml
edbg (Evan's Debugger) is a cross platform x86/x86-64 debugger. It
was inspired by OllyDbg, but aims to function on x86 and x86-64 as
well as multiple OS's. Linux is the only officially supported
platform at the moment, but FreeBSD, OpenBSD, OSX and Windows ports
are underway with varying degrees of functionality.
WWW: http://codef00.com/projects#debugger
bin/edb
libexec/edb/libAnalyzer.so
libexec/edb/libBinarySearcher.so
libexec/edb/libBookmarks.so
libexec/edb/libBreakpointManager.so
libexec/edb/libCheckVersion.so
libexec/edb/libDebuggerCore.so
libexec/edb/libDumpState.so
libexec/edb/libELFBinaryInfo.so
libexec/edb/libEnvironment.so
libexec/edb/libFunctionFinder.so
libexec/edb/libHardwareBreakpoints.so
libexec/edb/libHeapAnalyzer.so
libexec/edb/libOpcodeSearcher.so
libexec/edb/libROPTool.so
libexec/edb/libReferences.so
libexec/edb/libSessionManager.so
libexec/edb/libStringSearcher.so
libexec/edb/libSymbolViewer.so
share/applications/edb.desktop
share/pixmaps/edb.png
@dirrmtry share/applications
@dirrm libexec/edb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment