blob: 85abd83d84a146e7e541352d1587924bfd1271ce (
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
42
43
44
45
|
# $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
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USE_QT4+= linguist_build
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
post-configure:
.if ${PORT_OPTIONS:MNLS}
(cd ${WRKSRC} && ${LRELEASE} qtemu.pro)
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qtemu ${STAGEDIR}${PREFIX}/bin/qtemu
.if ${PORT_OPTIONS:MNLS}
@${MKDIR} ${STAGEDIR}${DATADIR}/translations
${INSTALL_DATA} ${WRKSRC}/translations/qtemu*.qm ${STAGEDIR}${DATADIR}/translations
.endif
.if ${PORT_OPTIONS:MDOCS}
(cd ${WRKSRC}/help && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>
|