aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2016-01-21 01:42:54 +0000
committerPawel Pekala <pawel@FreeBSD.org>2016-01-21 01:42:54 +0000
commit9963518ff38ceb6f9c1d07dd6f80e2609bfc7aaf (patch)
tree574d32e080db3f39c54bc3ec80e690ae5a6dab7c /astro
parent0bdfa004a2d152b70e38525955d0ac1404eea08b (diff)
downloadports-9963518ff38ceb6f9c1d07dd6f80e2609bfc7aaf.tar.gz
ports-9963518ff38ceb6f9c1d07dd6f80e2609bfc7aaf.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/gpsbabel/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/astro/gpsbabel/Makefile b/astro/gpsbabel/Makefile
index 9d81294d9711..2e82e86cf2d9 100644
--- a/astro/gpsbabel/Makefile
+++ b/astro/gpsbabel/Makefile
@@ -26,12 +26,7 @@ OPTIONS_SUB= GUI
GUI_ALL_TARGET= gui
GUI_USE= QT4=gui,xml,network,webkit
GUI_USE+= QT4=linguisttools_build,moc_build,rcc_build,uic_build
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGUI}
-MAKE_JOBS_UNSAFE= yes
-.endif
+GUI_VARS= MAKE_JOBS_UNSAFE=yes
post-patch:
@${REINPLACE_CMD} '/langPath_ = / \
@@ -40,7 +35,8 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gpsbabel ${STAGEDIR}${PREFIX}/bin/
-.if ${PORT_OPTIONS:MGUI}
+
+do-install-GUI-on:
${INSTALL_PROGRAM} ${WRKSRC}/gui/objects/gpsbabelfe-bin \
${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/gui/gpsbabel.desktop \
@@ -49,6 +45,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/gui/*.qm ${STAGEDIR}${DATADIR}/translations/
${INSTALL_DATA} ${WRKSRC}/gui/images/appicon.png \
${STAGEDIR}${PREFIX}/share/pixmaps/gpsbabel.png
-.endif
.include <bsd.port.mk>