aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-06-11 06:06:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-06-11 06:06:15 +0800
commitf45c60ebc4473ae611250d55c2f9e9ad0d6f429d (patch)
tree5db3ea8f3d50f6e8bf7bcf878fdab40109ca725c /astro
parent5599015e625332902c87ccd3a692087007a1b5ad (diff)
downloadfreebsd-ports-gnome-f45c60ebc4473ae611250d55c2f9e9ad0d6f429d.tar.gz
freebsd-ports-gnome-f45c60ebc4473ae611250d55c2f9e9ad0d6f429d.tar.zst
freebsd-ports-gnome-f45c60ebc4473ae611250d55c2f9e9ad0d6f429d.zip
- Update to 1.5.1
- Add LICENSE - Convert extra-patch'es to plain patches PR: 190791 Submitted by: glebius Approved by: Oliver Heesakkers <dev2@heesakkers.info> (maintainer)
Diffstat (limited to 'astro')
-rw-r--r--astro/gpsbabel/Makefile17
-rw-r--r--astro/gpsbabel/distinfo4
-rw-r--r--astro/gpsbabel/files/patch-libusb (renamed from astro/gpsbabel/files/extra-patch-libusb)0
-rw-r--r--astro/gpsbabel/files/patch-mkstyle21
4 files changed, 34 insertions, 8 deletions
diff --git a/astro/gpsbabel/Makefile b/astro/gpsbabel/Makefile
index b5c9f3d4fcdc..07ad9648da0d 100644
--- a/astro/gpsbabel/Makefile
+++ b/astro/gpsbabel/Makefile
@@ -2,23 +2,28 @@
# $FreeBSD$
PORTNAME= gpsbabel
-PORTVERSION= 1.4.4
+PORTVERSION= 1.5.1
CATEGORIES= astro geography
MASTER_SITES= https://secure.ohos.nl/downloads/ \
- LOCAL/beech
+ LOCAL/glebius
MAINTAINER= dev2@heesakkers.info
COMMENT= GPS file translating tool
-LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-expathdr=${LOCALBASE}/include \
- --with-libexpat=${LOCALBASE}/lib
+
+USES= gettext
+USE_QT4= corelib linguist_build qmake_build
+USE_GNOME= glib20
PLIST_FILES= bin/gpsbabel
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-libusb
+CONFLICTS= gpsbabel14-[0-9]*
.include <bsd.port.mk>
diff --git a/astro/gpsbabel/distinfo b/astro/gpsbabel/distinfo
index 466f8aa9697c..c2d8c7f624c6 100644
--- a/astro/gpsbabel/distinfo
+++ b/astro/gpsbabel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gpsbabel-1.4.4.tar.gz) = 9dd2a06e887cb286c9a07164a8f2ede11aed1147e6419007370c528412321944
-SIZE (gpsbabel-1.4.4.tar.gz) = 7811264
+SHA256 (gpsbabel-1.5.1.tar.gz) = 3feec7d43ca6cb5393645fe0df893d9f7bf5334849fa8abd4c5c3ee775c8cac3
+SIZE (gpsbabel-1.5.1.tar.gz) = 8402088
diff --git a/astro/gpsbabel/files/extra-patch-libusb b/astro/gpsbabel/files/patch-libusb
index 4bf7613de5d0..4bf7613de5d0 100644
--- a/astro/gpsbabel/files/extra-patch-libusb
+++ b/astro/gpsbabel/files/patch-libusb
diff --git a/astro/gpsbabel/files/patch-mkstyle b/astro/gpsbabel/files/patch-mkstyle
new file mode 100644
index 000000000000..7d7223862bb6
--- /dev/null
+++ b/astro/gpsbabel/files/patch-mkstyle
@@ -0,0 +1,21 @@
+--- ./mkstyle.sh.orig 2013-09-01 16:29:29.000000000 +0200
++++ ./mkstyle.sh 2014-06-10 13:47:27.000000000 +0200
+@@ -9,17 +9,7 @@
+ LC_COLLATE=C
+ export LC_COLLATE
+
+-# require gnu sed even though we aren't using gnu extensions.
+-# this avoids portability issues with other seds.
+-if gsed v /dev/null 1>/dev/null 2>&1; then
+- SED=gsed
+-elif sed v /dev/null 1>/dev/null 2>&1; then
+- # sed is gnu sed
+- SED=sed
+-else
+- echo "Error: can't find gnu sed" 1>&2
+- exit 1
+-fi
++SED=sed
+
+ echo "#include \"defs.h\""
+ echo "#if CSVFMTS_ENABLED"