summaryrefslogtreecommitdiff
path: root/editors/textroom/files/patch-application_application.pro
blob: 7dc0e20ad1d9b9d2e8c941677e133c85322491d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
--- application/application.pro.orig	2011-01-22 03:25:20.000000000 +0100
+++ application/application.pro	2011-02-10 21:37:18.000000000 +0100
@@ -4,19 +4,20 @@
     src \
     ui
 
-linux-g++ {
+freebsd-g++ {
 	INCLUDEPATH += . \
 	    src \
 	    src/include \
-	    /usr/include \
-	    /usr/include/hunspell \
-	    /usr/include/libxml++-2.6 \
-	    /usr/include/glibmm-2.4 \
-	    /usr/lib/glibmm-2.4/include \
-	    /usr/include/glib-2.0 \
-	    /usr/lib/glib-2.0/include \
-	    /usr/lib/libxml++-2.6/include \
-	    /usr/include/SDL
+	    $$LOCALBASE/include \
+	    $$LOCALBASE/include/hunspell \
+	    $$LOCALBASE/include/libxml++-2.6 \
+	    $$LOCALBASE/include//libxml++-2.6/include \
+	    $$LOCALBASE/include/glibmm-2.4 \
+	    $$LOCALBASE/lib/glibmm-2.4/include \
+	    $$LOCALBASE/include/glib-2.0 \
+	    $$LOCALBASE/lib/glib-2.0/include \
+	    $$LOCALBASE/lib/libxml++-2.6/include \
+	    $$LOCALBASE/include/SDL
 	
 }
 
@@ -85,7 +86,7 @@
     src/asciireporter.cpp
 RESOURCES += resource/textroom.qrc \
 	resource/images/icons-app.qrc 
-linux-g++ {
+freebsd-g++ {
     CONFIG += release \
         build_all
     INSTALLS += data \
@@ -98,27 +99,27 @@
         icon
     LIBS = -lSDL_mixer \
 	-lSDL \
-        -lhunspell \
+	-lhunspell-1.2 \
 	-lglibmm-2.4 \
 	-lcurl \
 	-lxml++-2.6 \
 	$$TOPDIR/lib/libflo.a
-    data.path = /usr/share/sounds
+    data.path = $$PREFIX/share/sounds
     data.files = resource/sounds/*
-    target.path = /usr/bin
-    words.path = /usr/share/textroom
+    target.path = $$PREFIX/bin
+    words.path = $$PREFIX/share/textroom
     words.files = resource/words.txt
-    desktop.path = /usr/share/applications
+    desktop.path = $$PREFIX/share/applications
     desktop.files = resource/desktop/textroom.desktop
-    doc-icon.path = /usr/share/textroom
+    doc-icon.path = $$PREFIX/share/textroom
     doc-icon.files = resource/images/textroom-doc.png
-    mime.path = /usr/share/textroom
+    mime.path = $$PREFIX/share/textroom
     mime.files = resource/desktop/textroom-txr-mime.xml
-    uninstaller.path = /usr/bin
+    uninstaller.path = $$PREFIX/bin
     uninstaller.files = resource/desktop/textroom-uninstall
-    dict.path = /usr/share/hunspell
+    dict.path = $$PREFIX/share/hunspell
     dict.files = resource/dict/*
-    icon.path = /usr/share/pixmaps
+    icon.path = $$PREFIX/share/pixmaps
     icon.files = resource/images/textroom.png
 }