freebsd-ports/polish/qnapi/files/patch-qnapi.pro
2013-02-14 19:54:59 +00:00

52 lines
1.9 KiB
INI

--- qnapi.pro.orig 2009-02-28 21:13:01.000000000 +0100
+++ qnapi.pro 2013-02-14 20:22:45.000000000 +0100
@@ -91,6 +91,7 @@
RCC_DIR = tmp
OBJECTS_DIR = tmp
INCLUDEPATH = src
+QMAKE_CXXFLAGS_RELEASE =
macx {
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
CONFIG += x86 ppc
@@ -102,7 +103,7 @@
QMAKE_BUNDLE_DATA += 7ZIP_BINARY
}
unix {
- INSTALL_PREFIX = /usr
+ INSTALL_PREFIX = $$PREFIX
target.path = $${INSTALL_PREFIX}/bin
doc.path = $${INSTALL_PREFIX}/share/doc/$${TARGET}
doc.files = doc/ChangeLog \
@@ -114,27 +115,24 @@
doc/COPYRIGHT \
doc/qnapi-download.desktop \
doc/qnapi-download.schemas
- man.path = $${INSTALL_PREFIX}/share/man/man1
+ man.path = $${INSTALL_PREFIX}/man/man1
man.files = doc/$${TARGET}.1.gz
- icons.path = /usr/share/icons
+ icons.path = $${INSTALL_PREFIX}/share/icons
icons.files = res/qnapi.png res/qnapi-48.png res/qnapi-128.png res/qnapi-512.png
- desktop.path = /usr/share/applications
+ desktop.path = $${INSTALL_PREFIX}/share/applications
desktop.files = doc/$${TARGET}.desktop
dolphin_integration.path = /usr/share/apps/dolphin/servicemenus
dolphin_integration.files = doc/$${TARGET}-download.desktop
d3lphin_integration.path = /usr/share/apps/d3lphin/servicemenus
d3lphin_integration.files = doc/$${TARGET}-download.desktop
- konqueror_integration.path = /usr/share/apps/konqueror/servicemenus
+ konqueror_integration.path = $${INSTALL_PREFIX}/share/apps/konqueror/servicemenus
konqueror_integration.files = doc/$${TARGET}-download.desktop
- kde4_integration.path = /usr/lib/kde4/share/kde4/services/ServiceMenus
+ kde4_integration.path = $$KDE4_PREFIX/share/kde4/services/ServiceMenus
kde4_integration.files = doc/$${TARGET}-download.desktop
INSTALLS = target \
- doc \
man \
icons \
desktop \
- dolphin_integration \
- d3lphin_integration \
konqueror_integration \
kde4_integration
}