source: projects/specs/trunk/t/texworks/TeXworks-pro-install.patch @ 1535

Revision 1535, 1.1 KB checked in by munepi, 14 years ago (diff)

NEW texworks

RevLine 
[1535]1--- texworks-0.2.3/TeXworks.pro 2009-10-09 02:03:52.000000000 +0800
2+++ texworks-0.2.3.new/TeXworks.pro     2010-04-24 10:36:17.876647486 +0800
3@@ -75,6 +75,8 @@
4        # Qt/dbus config on Debian is broken, hence the lines below
5        LIBS            += -lQtDBus
6        INCLUDEPATH     += /usr/include/qt4/QtDBus
7+       # need for change of DSO linking on Fedora
8+       LIBS            += -lz
9 }
10 
11 openbsd-g++ {
12@@ -172,3 +174,20 @@
13                                        trans/TeXworks_tr.ts \
14                                        trans/TeXworks_zh_CN.ts
15 
16+unix:!macx { # installation on Unix-ish platforms
17+       isEmpty(INSTALL_PREFIX):INSTALL_PREFIX = /usr/local
18+       isEmpty(BIN_DIR):BIN_DIR = $$INSTALL_PREFIX/bin
19+       isEmpty(DATA_DIR):DATA_DIR = $$INSTALL_PREFIX/share
20+       isEmpty(TRANSLATIONS_DIR):TRANSLATIONS_DIR = $$DATA_DIR/texworks/translations
21+       isEmpty(DOCS_DIR):DOCS_DIR = $$DATA_DIR/doc/texworks
22+       isEmpty(ICON_DIR):ICON_DIR = $$DATA_DIR/pixmaps
23+
24+       target.path = $$BIN_DIR
25+       documentation.files = COPYING README
26+       documentation.path = $$DOCS_DIR
27+       translation.files = trans/TeXworks_*.qm
28+       translation.path = $$TRANSLATIONS_DIR
29+       icon.files = res/images/TeXworks.png
30+       icon.path = $$ICON_DIR
31+       INSTALLS = target documentation translation icon
32+}
Note: See TracBrowser for help on using the repository browser.