aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/qtemu/Makefile
blob: 700e4ecfb0d09e22cac8342a3990a4b4b55791f6 (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
# $FreeBSD$

PORTNAME=   qtemu
PORTVERSION=    1.0.5
PORTREVISION=   4
CATEGORIES= emulators
MASTER_SITES=   SF

MAINTAINER= makc@FreeBSD.org
COMMENT=    Qt 4 based frontend for QEMU

USE_QT4=    gui xml uic_build moc_build rcc_build
USES=       qmake tar:bzip2
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}

DESKTOP_ENTRIES="QtEmu" "QEMU frontend" "" \
        "qtemu" "" true

OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB=    yes

NLS_USE=    QT4=linguisttools_build

post-configure-NLS-on:
    (cd ${WRKSRC} && ${LRELEASE} qtemu.pro)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/qtemu ${STAGEDIR}${PREFIX}/bin/qtemu

do-install-NLS-on:
    @${MKDIR} ${STAGEDIR}${DATADIR}/translations
    ${INSTALL_DATA} ${WRKSRC}/translations/qtemu*.qm ${STAGEDIR}${DATADIR}/translations

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

.include <bsd.port.mk>