aboutsummaryrefslogtreecommitdiffstats
path: root/devel/edb/Makefile
blob: 3129a2058568df90e1beda60d672bdb057c18751 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $FreeBSD$

PORTNAME=   edb
PORTVERSION=    0.9.18
PORTREVISION=   9
CATEGORIES= devel
MASTER_SITES=   http://codef00.com/projects/
DISTNAME=   debugger-${PORTVERSION}

MAINTAINER= itechbear@gmail.com
COMMENT=    Cross-platform x86/x86-64 debugger based on Qt 4

LICENSE=    GPLv2

LIB_DEPENDS=    libboost_thread.so:devel/boost-libs

USES=       qmake tar:tgz
USE_QT4=    gui network xml moc_build rcc_build uic_build
QMAKE_ARGS= DEFAULT_PLUGIN_PATH="${PREFIX}/libexec/${PORTNAME}"

WRKSRC=     ${WRKDIR}/debugger

PORTDOCS=   *

ONLY_FOR_ARCHS= i386 amd64

STRIP_FILES=    bin/${PORTNAME} libexec/${PORTNAME}/*.so

OPTIONS_DEFINE= DOCS

post-install:
    ${INSTALL_DATA} ${WRKSRC}/edb.desktop ${STAGEDIR}${PREFIX}/share/applications
    ${INSTALL_DATA} ${WRKSRC}/src/images/edb48-logo.png ${STAGEDIR}${PREFIX}/share/pixmaps/edb.png
    ${INSTALL_MAN} ${WRKSRC}/edb.1 ${STAGEDIR}${MANPREFIX}/man/man1/edb.1
    (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
    ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,}

post-install-DOCS-on:
    (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>