2012-11-06 09:04:29 +00:00
|
|
|
# Created by: Laurent Courty
|
2006-04-29 15:27:05 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gpsbabel
|
2016-06-28 17:29:20 +00:00
|
|
|
DISTVERSIONPREFIX= ${PORTNAME}_
|
2018-05-06 15:39:46 +00:00
|
|
|
DISTVERSION= 1_5_4
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 20:46:53 +00:00
|
|
|
PORTREVISION= 4
|
2007-07-22 19:53:52 +00:00
|
|
|
CATEGORIES= astro geography
|
2006-04-29 15:27:05 +00:00
|
|
|
|
2012-12-15 23:13:08 +00:00
|
|
|
MAINTAINER= dev2@heesakkers.info
|
2013-04-29 16:43:05 +00:00
|
|
|
COMMENT= GPS file translating tool
|
2006-04-29 15:27:05 +00:00
|
|
|
|
2014-06-10 22:06:15 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-06-28 17:29:20 +00:00
|
|
|
# Unbundle libminizip
|
|
|
|
LIB_DEPENDS= libminizip.so:archivers/minizip
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
|
2014-06-10 22:06:15 +00:00
|
|
|
CONFLICTS= gpsbabel14-[0-9]*
|
2009-03-09 17:15:43 +00:00
|
|
|
|
2019-05-29 12:59:07 +00:00
|
|
|
USES= compiler:c++11-lang localbase qt:5
|
2018-06-28 17:39:53 +00:00
|
|
|
USE_QT= core qmake_build
|
2015-08-18 19:58:06 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-zlib=system
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= GUI
|
2017-11-21 08:36:26 +00:00
|
|
|
OPTIONS_SUB= yes
|
2015-08-18 19:58:06 +00:00
|
|
|
|
|
|
|
GUI_ALL_TARGET= gui
|
2018-06-28 17:39:53 +00:00
|
|
|
GUI_USE= QT=gui,xml,network,webkit
|
2019-03-19 20:45:44 +00:00
|
|
|
GUI_USE+= QT=linguisttools_build,webengine,buildtools
|
2016-01-21 01:42:54 +00:00
|
|
|
GUI_VARS= MAKE_JOBS_UNSAFE=yes
|
2015-08-18 19:58:06 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} '/langPath_ = / \
|
|
|
|
s|QApplication::applicationDirPath()|"${DATADIR}"|' \
|
|
|
|
${WRKSRC}/gui/mainwindow.cc
|
2016-10-21 12:51:40 +00:00
|
|
|
@${RM} -r ${WRKSRC}/zlib/contrib/minizip
|
2015-08-18 19:58:06 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gpsbabel ${STAGEDIR}${PREFIX}/bin/
|
2016-01-21 01:42:54 +00:00
|
|
|
|
|
|
|
do-install-GUI-on:
|
2015-08-18 19:58:06 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gui/objects/gpsbabelfe-bin \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gui/gpsbabel.desktop \
|
|
|
|
${STAGEDIR}${PREFIX}/share/applications/
|
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/translations
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gui/*.qm ${STAGEDIR}${DATADIR}/translations/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gui/images/appicon.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/gpsbabel.png
|
2015-03-15 08:49:48 +00:00
|
|
|
|
2013-04-29 16:43:05 +00:00
|
|
|
.include <bsd.port.mk>
|