1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/math/xgfe/files/patch-ab
Kris Kennaway d3c24d35b2 Update to xgfe 2.1, switch to QT 3, respect NOPORTDOCS, fix build
with gcc 3.

Submitted by:	Marius Strobl <marius@alchemy.franken.de>
PR:		ports/59024
2004-03-06 22:57:48 +00:00

29 lines
672 B
Plaintext

--- 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 = $(DOCSDIR)
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)