aboutsummaryrefslogtreecommitdiff
path: root/emulators/qtemu/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:03:08 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:03:08 +0000
commitc7c32639cce504dbfefa9d1a09034d60600acaca (patch)
tree542278ecb4449b3df78960fd5f6cf7d8be50914f /emulators/qtemu/Makefile
parent42aab3eb75f5152697ee03e5e8457ce58906e2c1 (diff)
downloadports-c7c32639cce504dbfefa9d1a09034d60600acaca.tar.gz
ports-c7c32639cce504dbfefa9d1a09034d60600acaca.zip
Notes
Diffstat (limited to 'emulators/qtemu/Makefile')
-rw-r--r--emulators/qtemu/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/emulators/qtemu/Makefile b/emulators/qtemu/Makefile
index 7658658b9b95..700e4ecfb0d0 100644
--- a/emulators/qtemu/Makefile
+++ b/emulators/qtemu/Makefile
@@ -21,21 +21,17 @@ OPTIONS_SUB= yes
NLS_USE= QT4=linguisttools_build
-.include <bsd.port.options.mk>
-
-post-configure:
-.if ${PORT_OPTIONS:MNLS}
+post-configure-NLS-on:
(cd ${WRKSRC} && ${LRELEASE} qtemu.pro)
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qtemu ${STAGEDIR}${PREFIX}/bin/qtemu
-.if ${PORT_OPTIONS:MNLS}
+
+do-install-NLS-on:
@${MKDIR} ${STAGEDIR}${DATADIR}/translations
${INSTALL_DATA} ${WRKSRC}/translations/qtemu*.qm ${STAGEDIR}${DATADIR}/translations
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
(cd ${WRKSRC}/help && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.endif
.include <bsd.port.mk>