diff options
author | makc <makc@FreeBSD.org> | 2015-08-25 18:03:08 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2015-08-25 18:03:08 +0800 |
commit | 9e5654a5c0aea99f1b9b5daff162b08b49242b7b (patch) | |
tree | 542278ecb4449b3df78960fd5f6cf7d8be50914f /emulators/qtemu | |
parent | 76858881403322c6f97767f7d23afe1a13ec5546 (diff) | |
download | freebsd-ports-gnome-9e5654a5c0aea99f1b9b5daff162b08b49242b7b.tar.gz freebsd-ports-gnome-9e5654a5c0aea99f1b9b5daff162b08b49242b7b.tar.zst freebsd-ports-gnome-9e5654a5c0aea99f1b9b5daff162b08b49242b7b.zip |
Convert my ports to new options helpers
Diffstat (limited to 'emulators/qtemu')
-rw-r--r-- | emulators/qtemu/Makefile | 14 |
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> |