summaryrefslogtreecommitdiff
path: root/devel/bisoncpp/files/patch-INSTALL.im
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bisoncpp/files/patch-INSTALL.im')
-rw-r--r--devel/bisoncpp/files/patch-INSTALL.im36
1 files changed, 36 insertions, 0 deletions
diff --git a/devel/bisoncpp/files/patch-INSTALL.im b/devel/bisoncpp/files/patch-INSTALL.im
new file mode 100644
index 000000000000..572c05f34024
--- /dev/null
+++ b/devel/bisoncpp/files/patch-INSTALL.im
@@ -0,0 +1,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
+
+