diff options
Diffstat (limited to 'math/xgfe/files/patch-ab')
-rw-r--r-- | math/xgfe/files/patch-ab | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/math/xgfe/files/patch-ab b/math/xgfe/files/patch-ab new file mode 100644 index 000000000000..2ecb111c3494 --- /dev/null +++ b/math/xgfe/files/patch-ab @@ -0,0 +1,28 @@ +--- Makefile.common.orig Tue May 26 22:09:43 1998 ++++ Makefile.common Wed Jun 10 15:00:13 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) ++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(INSTALL_BIN) ++.if !defined(NOPORTDOCS) + mkdir -p $(INSTALL_DOC) +- cp ../doc/* $(INSTALL_DOC)/ +- strip $(INSTALL_BIN)/$(TARGET) ++ $(BSD_INSTALL_DATA) ../doc/* $(INSTALL_DOC)/ ++.endif + + uninstall: + rm $(INSTALL_BIN)$(TARGET) |