summaryrefslogtreecommitdiff
path: root/devel/bisoncpp/files/patch-INSTALL.im
blob: 572c05f340243a3e9d3fa4c1ad3febd762ca5f28 (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
--- INSTALL.im.orig	2013-06-21 11:16:33.000000000 +0200
+++ INSTALL.im	2013-11-27 22:15:51.000000000 +0100
@@ -15,7 +15,7 @@
 #define LDFLAGS             ""
     // flags passed to the linker
 
-#define SKEL    "/usr/share/bisonc++"
+#define SKEL    "%%PREFIX%%/share/"${PROGRAM}"-%%PORTVERSION%%"
     // the directory where the skeleton files are installed
     // Recompile options/data.cc if the skeleton location changes
 
@@ -23,19 +23,19 @@
 // =========================================================================
 // The following locations are overruled by `build' arguments
 
-#define BINARY     "/usr/bin/"${PROGRAM}
+#define BINARY     "%%PREFIX%%/bin/"${PROGRAM}
     // the full path of the final program
 
-#define MAN     "/usr/share/man/man1"
+#define MAN     "%%PREFIX%%/man/man1"
     // the directory whre the manual page is stored
 
-#define MANUAL   "/usr/share/doc/"${PROGRAM}"-doc/manual"
+#define MANUAL   "%%PREFIX%%/share/doc/"${PROGRAM}"-%%PORTVERSION%%/manual"
     // the directory whre the manual page is stored
 
-#define STD     "/usr/share/doc/"${PROGRAM}
+#define STD     "%%PREFIX%%/share/doc/"${PROGRAM}"-%%PORTVERSION%%"
     // the directory where the standard documentation is stored 
 
-#define EXTRA   "/usr/share/doc/"${PROGRAM}"-doc"
+#define EXTRA   "%%PREFIX%%/share/doc/"${PROGRAM}"-%%PORTVERSION%%"
     // the directory where the extra documentation is stored