ports/devel/bisoncpp/files/patch-INSTALL.im
Sunpoet Po-Chuan Hsieh 397b107367 - Update to 4.09.01
- Update DISTNAME and EXTRACT_SUFX

Changes:	http://sourceforge.net/p/bisoncpp/code/ci/master/log/
PR:		ports/189774
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
2014-05-24 14:11:44 +00:00

36 lines
1.3 KiB
Text

--- 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}
// 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}"/manual"
// the directory whre the manual page is stored
-#define STD "/usr/share/doc/"${PROGRAM}
+#define STD "%%PREFIX%%/share/doc/"${PROGRAM}
// the directory where the standard documentation is stored
-#define EXTRA "/usr/share/doc/"${PROGRAM}"-doc"
+#define EXTRA "%%PREFIX%%/share/doc/"${PROGRAM}
// the directory where the extra documentation is stored