summaryrefslogtreecommitdiff
path: root/graphics/nip2/files/run-nip2.sh.in
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2014-07-01 18:59:49 +0000
committerMikhail Teterin <mi@FreeBSD.org>2014-07-01 18:59:49 +0000
commit1a79a9e86fc7035723be71cf79dfcfcd9227f611 (patch)
tree466084704da829da74fa49dd5974f93e7c0f51bd /graphics/nip2/files/run-nip2.sh.in
parentAttempt to unbreak (diff)
Upgrade from 7.26.3 to 7.40.1 (nip2) and .2 (vips) -- the current
latest. Support staging in nip2. Add self-test target to nip2. Although the software is built against GraphicsMagick, some of the tests require ImageMagick's convert and therefor the tests are not (yet) labeled "regression-test". The author is working on the fix.
Diffstat (limited to 'graphics/nip2/files/run-nip2.sh.in')
-rw-r--r--graphics/nip2/files/run-nip2.sh.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/nip2/files/run-nip2.sh.in b/graphics/nip2/files/run-nip2.sh.in
new file mode 100644
index 000000000000..85aa89fa83de
--- /dev/null
+++ b/graphics/nip2/files/run-nip2.sh.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ -z "$VIPSHOME" ]
+then
+ export VIPSHOME=%%PREFIX%%
+fi
+if [ -z "$GDK_USE_XFT" ]
+then
+ export GDK_USE_XFT=1
+fi
+exec %%PREFIX%%/bin/nip2 "$@"