aboutsummaryrefslogtreecommitdiffstats
path: root/astro/qlandkartegt
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-02-01 11:32:04 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-02-01 11:32:04 +0800
commit918328d344b6550353c2c9454049cdbb399e95e4 (patch)
treee90b333cce85c3dffa80cae16289ac65fa7df0fe /astro/qlandkartegt
parent2441298c938b21475a079b8e4a03f6988a473382 (diff)
downloadfreebsd-ports-gnome-918328d344b6550353c2c9454049cdbb399e95e4.tar.gz
freebsd-ports-gnome-918328d344b6550353c2c9454049cdbb399e95e4.tar.zst
freebsd-ports-gnome-918328d344b6550353c2c9454049cdbb399e95e4.zip
- Update to 0.16.1, change maintainer email
PR: ports/142915 Submitted by: Mykola Dzham <freebsd@levsha.org.ua>
Diffstat (limited to 'astro/qlandkartegt')
-rw-r--r--astro/qlandkartegt/Makefile11
-rw-r--r--astro/qlandkartegt/distinfo6
-rw-r--r--astro/qlandkartegt/files/qlandkartegt.in10
-rw-r--r--astro/qlandkartegt/pkg-plist2
4 files changed, 23 insertions, 6 deletions
diff --git a/astro/qlandkartegt/Makefile b/astro/qlandkartegt/Makefile
index 8067accdbed4..2a5fb5c4281f 100644
--- a/astro/qlandkartegt/Makefile
+++ b/astro/qlandkartegt/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= qlandkartegt
-PORTVERSION= 0.15.1
-PORTREVISION= 1
+PORTVERSION= 0.16.1
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/QLandkarteGT%20${PORTVERSION}
-MAINTAINER= freebsd@levsha.org.ua
+MAINTAINER= i@levsha.me
COMMENT= The ultimate outdoor aficionado's tool
LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal \
@@ -21,6 +20,12 @@ USE_CMAKE= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib moc_build uic_build rcc_build qmake_build opengl linguist
+SUB_FILES= qlandkartegt
+
MAN1= qlandkartegt.1
+post-install:
+ ${MV} ${PREFIX}/bin/qlandkartegt ${PREFIX}/bin/qlandkartegt.bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/qlandkartegt ${PREFIX}/bin
+
.include <bsd.port.mk>
diff --git a/astro/qlandkartegt/distinfo b/astro/qlandkartegt/distinfo
index 820d9921f603..fdb6b668bc58 100644
--- a/astro/qlandkartegt/distinfo
+++ b/astro/qlandkartegt/distinfo
@@ -1,3 +1,3 @@
-MD5 (qlandkartegt-0.15.1.tar.gz) = da0a44b980280a5c7c006f64363b8f67
-SHA256 (qlandkartegt-0.15.1.tar.gz) = b6862400c11d7e753d335893f9d50c2f00a9aeebe495d553238f44979a98c09a
-SIZE (qlandkartegt-0.15.1.tar.gz) = 3518089
+MD5 (qlandkartegt-0.16.1.tar.gz) = d6859250f34264ab73af2ca8a8e83c21
+SHA256 (qlandkartegt-0.16.1.tar.gz) = dee8d77fe65c38513856f378756c45246869ad953bc4c26e6367f3fb6f9d55a4
+SIZE (qlandkartegt-0.16.1.tar.gz) = 3642618
diff --git a/astro/qlandkartegt/files/qlandkartegt.in b/astro/qlandkartegt/files/qlandkartegt.in
new file mode 100644
index 000000000000..699d3650099b
--- /dev/null
+++ b/astro/qlandkartegt/files/qlandkartegt.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if ( ldd %%LOCALBASE%%/lib/libGL.so | fgrep -Fq libnvidia )
+then
+ LD_PRELOAD="$(ls %%LOCALBASE%%/lib/XXX-libGL.so.*.%%.libGL-*|tail -1)"
+ export LD_PRELOAD
+fi
+
+%%PREFIX%%/bin/qlandkartegt.bin
+
diff --git a/astro/qlandkartegt/pkg-plist b/astro/qlandkartegt/pkg-plist
index 47c53d9aad6f..488742e64ee8 100644
--- a/astro/qlandkartegt/pkg-plist
+++ b/astro/qlandkartegt/pkg-plist
@@ -1,7 +1,9 @@
bin/qlandkartegt
+bin/qlandkartegt.bin
share/applications/qlandkartegt.desktop
share/pixmaps/qlandkartegt.png
%%DATADIR%%/translations/qlandkartegt_de_DE.qm
+%%DATADIR%%/translations/qlandkartegt_es_ES.qm
%%DATADIR%%/translations/qlandkartegt_fr_FR.qm
%%DATADIR%%/translations/qlandkartegt_it_IT.qm
%%DATADIR%%/translations/qlandkartegt_ru_RU.qm