freebsd-ports/graphics/dia/files/dia.sh
Maxim Sobolev bf8c25233c - Rework optional GNOME dependency, so it would not confuse bento;
- enable gnomeprint support in Gnome case;
- use "@*" to pass arguments from the helper script to the binary instead of
  $*.

Submitted by:	bento
2001-08-28 12:04:42 +00:00

8 lines
258 B
Bash

#!/bin/sh
DIA_LIB_PATH=$DIA_LIB_PATH:%%PREFIX%%/lib/dia
DIA_SHAPE_PATH=%%PREFIX%%/share/gnome/dia/shapes
DIA_SHEET_PATH=%%PREFIX%%/share/gnome/dia/sheets
export DIA_LIB_PATH DIA_SHAPE_PATH DIA_INT_SHAPE_PATH DIA_SHEET_PATH
exec %%PREFIX%%/bin/dia-bin "$@"