1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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)
This commit is contained in:
Dmitry Marakasov 2014-06-10 22:06:15 +00:00
parent 92d656c848
commit 721b8b0dab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357392
4 changed files with 34 additions and 8 deletions

View File

@ -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>

View File

@ -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

View File

@ -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"