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

  • texworks-0.2.3

    old new  
    7575        # Qt/dbus config on Debian is broken, hence the lines below 
    7676        LIBS            += -lQtDBus 
    7777        INCLUDEPATH     += /usr/include/qt4/QtDBus 
     78        # need for change of DSO linking on Fedora 
     79        LIBS            += -lz 
    7880} 
    7981 
    8082openbsd-g++ { 
     
    172174                                        trans/TeXworks_tr.ts \ 
    173175                                        trans/TeXworks_zh_CN.ts 
    174176 
     177unix:!macx { # installation on Unix-ish platforms 
     178        isEmpty(INSTALL_PREFIX):INSTALL_PREFIX = /usr/local 
     179        isEmpty(BIN_DIR):BIN_DIR = $$INSTALL_PREFIX/bin 
     180        isEmpty(DATA_DIR):DATA_DIR = $$INSTALL_PREFIX/share 
     181        isEmpty(TRANSLATIONS_DIR):TRANSLATIONS_DIR = $$DATA_DIR/texworks/translations 
     182        isEmpty(DOCS_DIR):DOCS_DIR = $$DATA_DIR/doc/texworks 
     183        isEmpty(ICON_DIR):ICON_DIR = $$DATA_DIR/pixmaps 
     184 
     185        target.path = $$BIN_DIR 
     186        documentation.files = COPYING README 
     187        documentation.path = $$DOCS_DIR 
     188        translation.files = trans/TeXworks_*.qm 
     189        translation.path = $$TRANSLATIONS_DIR 
     190        icon.files = res/images/TeXworks.png 
     191        icon.path = $$ICON_DIR 
     192        INSTALLS = target documentation translation icon 
     193} 
Note: See TracBrowser for help on using the repository browser.