freebsd-ports/print/rtf2latex2e/files/patch-Makefile.in
Thomas Abthorpe e2b427f333 rtf2latex2e is a program that translates RTF (rich text format) files into
LaTeX files. It translates text formatting, tables, figures, and equations.
The resulting LaTeX files are quite readable and suitable for editing.

WWW: http://sourceforge.net/project/showfiles.php?group_id=22324

PR:		ports/128041
Submitted by:	Martin Dieringer <martin.dieringer at gmx.de>
2008-11-11 14:42:37 +00:00

24 lines
925 B
Text

--- Makefile.in~ 2008-10-13 05:34:25.000000000 +0200
+++ Makefile.in 2008-10-13 05:34:25.000000000 +0200
@@ -6,7 +6,7 @@
# IMPORTANT!!!!!
# if you edit the install directory (INSTALL_DIR),
# make sure it ends with rtf2latex2e!!!!
-INSTALL_DIR = /usr/local/rtf2latex2e
+INSTALL_DIR = ${PREFIX}/share/rtf2latex2e
#----------------------------------------------------------------
@@ -61,10 +61,10 @@
cp -r ../pref $(INSTALL_DIR)/
cp -r ../src $(INSTALL_DIR)/
cp -r ../Unix $(INSTALL_DIR)/
- ln -sf $(INSTALL_DIR)/rtf2latex2e.bin /usr/bin/rtf2latex2e
+ ln -sf $(INSTALL_DIR)/rtf2latex2e.bin ${PREFIX}/bin/rtf2latex2e
@echo
@echo "rtf2latex2e has been installed in $(INSTALL_DIR)"
- @echo "A symbolic link /usr/bin/rtf2latex2e has been created"
+ @echo "A symbolic link ${PREFIX}/bin/rtf2latex2e has been created"
@echo
@echo "Please set the environment variable RTF2LATEX2E_DIR to $(INSTALL_DIR)."
@echo