Index: head/astro/gpsbabel/Makefile =================================================================== --- head/astro/gpsbabel/Makefile (revision 417739) +++ head/astro/gpsbabel/Makefile (revision 417740) @@ -1,49 +1,54 @@ # Created by: Laurent Courty # $FreeBSD$ PORTNAME= gpsbabel -PORTVERSION= 1.5.2 -PORTREVISION= 1 +DISTVERSIONPREFIX= ${PORTNAME}_ +DISTVERSION= 1_5_3 CATEGORIES= astro geography -MASTER_SITES= https://secure.ohos.nl/downloads/ \ - LOCAL/glebius MAINTAINER= dev2@heesakkers.info COMMENT= GPS file translating tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING +# Unbundle libminizip +LIB_DEPENDS= libminizip.so:archivers/minizip + +USE_GITHUB= yes + CONFLICTS= gpsbabel14-[0-9]* USE_QT4= corelib qmake_build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-zlib=system +USES= localbase OPTIONS_DEFINE= GUI 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 GUI_VARS= MAKE_JOBS_UNSAFE=yes post-patch: @${REINPLACE_CMD} '/langPath_ = / \ s|QApplication::applicationDirPath()|"${DATADIR}"|' \ ${WRKSRC}/gui/mainwindow.cc + @${RM} -rf ${WRKSRC}/zlib/contrib/minizip do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gpsbabel ${STAGEDIR}${PREFIX}/bin/ do-install-GUI-on: ${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 .include Index: head/astro/gpsbabel/distinfo =================================================================== --- head/astro/gpsbabel/distinfo (revision 417739) +++ head/astro/gpsbabel/distinfo (revision 417740) @@ -1,2 +1,2 @@ -SHA256 (gpsbabel-1.5.2.tar.gz) = c1a2f07d014d69dcce80e2ef8f23fe2fe3154324957b04d488da1b32458fad7b -SIZE (gpsbabel-1.5.2.tar.gz) = 8392465 +SHA256 (gpsbabel-gpsbabel-gpsbabel_1_5_3_GH0.tar.gz) = 10b7aaca44ce557fa1175fec37297b8df55611ab2c51cb199753a22dbf2d3997 +SIZE (gpsbabel-gpsbabel-gpsbabel_1_5_3_GH0.tar.gz) = 8516277 Index: head/astro/gpsbabel/files/patch-Makefile.in =================================================================== --- head/astro/gpsbabel/files/patch-Makefile.in (nonexistent) +++ head/astro/gpsbabel/files/patch-Makefile.in (revision 417740) @@ -0,0 +1,15 @@ +--- Makefile.in.orig ++++ Makefile.in +@@ -148,10 +148,10 @@ toolinfo + all: gpsbabel$(EXEEXT) + + gpsbabel$(EXEEXT): configure Makefile $(OBJS) @GPSBABEL_DEBUG@ +- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) -lminizip @LIBS@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@ + + gpsbabel-debug: $(OBJS) +- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EFENCE_LIB@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) -lminizip @LIBS@ @EFENCE_LIB@ $(QT_LIBS) @USB_LIBS@ $(OUTPUT_SWITCH)$@ + + Makefile gbversion.h: Makefile.in config.status xmldoc/makedoc.in \ + gbversion.h.in gui/setup.iss.in Property changes on: head/astro/gpsbabel/files/patch-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/astro/gpsbabel/files/patch-jeeps-gpslibusb.cc =================================================================== --- head/astro/gpsbabel/files/patch-jeeps-gpslibusb.cc (revision 417739) +++ head/astro/gpsbabel/files/patch-jeeps-gpslibusb.cc (revision 417740) @@ -1,12 +1,13 @@ ---- jeeps/gpslibusb.cc.orig 2014-09-16 03:49:59 UTC +--- jeeps/gpslibusb.cc.orig +++ jeeps/gpslibusb.cc -@@ -20,7 +20,8 @@ +@@ -20,8 +20,8 @@ */ -#include +-#include +#include +#include #include #if HAVE_CONFIG_H #include "config.h" Index: head/astro/gpsbabel/files/patch-src-core-ziparchive.cc =================================================================== --- head/astro/gpsbabel/files/patch-src-core-ziparchive.cc (nonexistent) +++ head/astro/gpsbabel/files/patch-src-core-ziparchive.cc (revision 417740) @@ -0,0 +1,11 @@ +--- src/core/ziparchive.cc.orig ++++ src/core/ziparchive.cc +@@ -23,7 +23,7 @@ + + #include "defs.h" + #include "src/core/logging.h" +-#include "zlib/contrib/minizip/zip.h" ++#include + + #include + #include Property changes on: head/astro/gpsbabel/files/patch-src-core-ziparchive.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/astro/gpsbabel/files/patch-src-core-ziparchive.h =================================================================== --- head/astro/gpsbabel/files/patch-src-core-ziparchive.h (nonexistent) +++ head/astro/gpsbabel/files/patch-src-core-ziparchive.h (revision 417740) @@ -0,0 +1,11 @@ +--- src/core/ziparchive.h.orig ++++ src/core/ziparchive.h +@@ -21,7 +21,7 @@ + + #include + #include +-#include "zlib/contrib/minizip/zip.h" ++#include + + class ZipArchive + { Property changes on: head/astro/gpsbabel/files/patch-src-core-ziparchive.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property