aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-01 03:32:04 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-01 03:32:04 +0000
commit3652f4c5639509f29f5ca2478b3326b7c0c65e34 (patch)
treee24d2dfe646a47d2cb23321af0c1a7fab5c67452 /astro
parenteb6f249e7ae8f9cc9e36fddbd5421d85b4a95b9d (diff)
downloadports-3652f4c5639509f29f5ca2478b3326b7c0c65e34.tar.gz
ports-3652f4c5639509f29f5ca2478b3326b7c0c65e34.zip
Notes
Diffstat (limited to 'astro')
-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