2007-07-02 03:33:11 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qtemu
|
2007-12-12 23:37:39 +00:00
|
|
|
PORTVERSION= 1.0.5
|
2013-01-23 15:00:18 +00:00
|
|
|
PORTREVISION= 4
|
2007-07-02 03:33:11 +00:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
2009-02-21 11:31:28 +00:00
|
|
|
MAINTAINER= makc@FreeBSD.org
|
2013-05-12 11:48:49 +00:00
|
|
|
COMMENT= Qt 4 based frontend for QEMU
|
2007-07-02 03:33:11 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2012-06-06 06:44:37 +00:00
|
|
|
USE_QT4= gui xml uic_build moc_build qmake_build rcc_build
|
2007-07-02 03:33:11 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES="QtEmu" "QEMU frontend" "" \
|
|
|
|
"qtemu" "" false
|
|
|
|
|
2013-05-12 11:48:49 +00:00
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
|
2012-07-27 11:03:38 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2007-07-02 03:33:11 +00:00
|
|
|
|
2012-07-27 11:03:38 +00:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-01-07 02:07:26 +00:00
|
|
|
USE_QT4+= linguist_build
|
2007-07-02 03:33:11 +00:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-configure:
|
2007-07-15 14:07:08 +00:00
|
|
|
(cd ${WRKSRC} && ${LOCALBASE}/bin/lrelease-qt4 -verbose qtemu.pro \
|
2013-01-07 02:07:26 +00:00
|
|
|
&& ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS})
|
2007-07-02 03:33:11 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qtemu ${PREFIX}/bin/qtemu
|
2012-07-27 11:03:38 +00:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2007-07-02 03:33:11 +00:00
|
|
|
${MKDIR} ${DATADIR}
|
2007-12-12 23:37:39 +00:00
|
|
|
(cd ${WRKSRC}/translations/ && ${COPYTREE_SHARE} 'qtemu*.qm' ${DATADIR}/translations)
|
2007-07-02 03:33:11 +00:00
|
|
|
.endif
|
2012-07-27 11:03:38 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2007-07-02 03:33:11 +00:00
|
|
|
(cd ${WRKSRC}/help/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
|
|
.endif
|
|
|
|
|
2012-07-27 11:03:38 +00:00
|
|
|
.include <bsd.port.mk>
|