summaryrefslogtreecommitdiff
path: root/math/xgfe/files/patch-ab
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-04-10 05:00:51 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-04-10 05:00:51 +0000
commit8830306820e34978b20b1241dcf6b061d44a0dc4 (patch)
tree83e5c0e37f66f6faa7115fcbb7172c93545b668e /math/xgfe/files/patch-ab
parentFix images dir to match installation (diff)
Graphical front-end to gnuplot.
PR: ports/6123 Submitted by: Matthew Hunt <mph@pobox.com>
Notes
Notes: svn path=/head/; revision=10458
Diffstat (limited to 'math/xgfe/files/patch-ab')
-rw-r--r--math/xgfe/files/patch-ab29
1 files changed, 29 insertions, 0 deletions
diff --git a/math/xgfe/files/patch-ab b/math/xgfe/files/patch-ab
new file mode 100644
index 000000000000..5faebc4695db
--- /dev/null
+++ b/math/xgfe/files/patch-ab
@@ -0,0 +1,29 @@
+--- Makefile.common.orig Mon Feb 23 17:31:22 1998
++++ Makefile.common Tue Mar 24 14:17:39 1998
+@@ -2,8 +2,8 @@
+
+ # modify starting here
+
+-INSTALL_BIN = /usr/local/bin
+-INSTALL_DOC = /usr/local/doc/xgfe-$(VERSION)
++INSTALL_BIN = $(PREFIX)/bin
++INSTALL_DOC = $(PREFIX)/share/doc/xgfe
+ STATIC_TARGET = xgfe-static
+
+ # end modifications
+@@ -15,10 +15,11 @@
+ strip $(STATIC_TARGET)
+
+ install:
+- cp $(TARGET) $(INSTALL_BIN)
+- mkdir $(INSTALL_DOC)
+- cp ../doc/* $(INSTALL_DOC)/
+- strip $(INSTALL_BIN)/$(TARGET)
++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(INSTALL_BIN)
++.if !defined(NOPORTDOCS)
++ mkdir -p $(INSTALL_DOC)
++ $(BSD_INSTALL_DATA) ../doc/* $(INSTALL_DOC)/
++.endif
+
+ uninstall:
+ rm $(INSTALL_BIN)$(TARGET)