aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/launchy/Makefile
blob: 64cfc7bfc6eb6c32d0f2c8f0229881e632c680c2 (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   launchy
PORTVERSION=    2.5
PORTREVISION=   1
CATEGORIES= deskutils
MASTER_SITES=   SF/${PORTNAME}/Launchy%20on%20Linux/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Open source keystroke launcher

BUILD_DEPENDS=  ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS=    ${LOCALBASE}/bin/xdg-open:${PORTSDIR}/devel/xdg-utils

USES=       qmake
USE_DOS2UNIX=   readme.lyx readme.txt
USE_QT4=    qmake_build moc_build rcc_build uic_build gui network
PORTDOCS=   *

MAKE_JOBS_UNSAFE=   yes

.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} 's,/usr,${PREFIX},' \
        ${WRKSRC}/platforms/unix/unix.pro \
        ${WRKSRC}/plugins/calcy/calcy.pro \
        ${WRKSRC}/plugins/gcalc/gcalc.pro \
        ${WRKSRC}/plugins/runner/runner.pro \
        ${WRKSRC}/plugins/verby/verby.pro \
        ${WRKSRC}/plugins/weby/weby.pro \
        ${WRKSRC}/src/src.pro

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/?eadme.* ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>