![]() ![]() | ![]() |
File: [local] / ports / textproc / goldendict / patches / Attic / patch-goldendict_pro (download)
Revision 1.1.1.1 (vendor branch), Fri Jun 4 17:18:32 2010 UTC (14 years, 2 months ago) by yason
import |
$OpenBSD$ --- goldendict.pro.orig Sun May 24 23:28:51 2009 +++ goldendict.pro Fri Jun 4 13:43:14 2010 @@ -35,24 +35,20 @@ unix { LIBS += -lXtst PREFIX = $$(PREFIX) isEmpty( PREFIX ):PREFIX = /usr/local - DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\" + isEmpty( DESKTOPDIR ):DESKTOPDIR = $$PREFIX/share/applications + isEmpty( ICONDIR ):ICONDIR = $$PREFIX/share/pixmaps + DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\" target.path = $$PREFIX/bin/ - locale.path = $$PREFIX/share/apps/goldendict/locale/ + locale.path = $$PREFIX/share/goldendict locale.files = locale/*.qm INSTALLS += target \ locale - icons.path = /usr/share/pixmaps - icons.files = redist/icons/*.* + icons.path = $$ICONDIR + icons.files = redist/icons/goldendict.png INSTALLS += icons - icons2.path = /usr/share/app-install/icons - icons2.files = redist/icons/*.* - INSTALLS += icons2 - desktops.path = /usr/share/applications - desktops.files = redist/*.desktop + desktops.path = $$DESKTOPDIR + desktops.files = redist/goldendict.desktop INSTALLS += desktops - desktops2.path = /usr/share/app-install/desktop - desktops2.files = redist/*.desktop - INSTALLS += desktops2 } DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"