1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/lang/bf2c/files/patch-Makefile
Rene Ladan 89304c8187 Change WWW line of ports that point to my web site, which is now served over
HTTPS.

While here, regenerate patch for lang/bf2c to pet portlint.
2016-02-14 15:27:58 +00:00

24 lines
501 B
Plaintext

--- Makefile.orig 2013-06-12 22:11:38 UTC
+++ Makefile
@@ -1,4 +1,6 @@
-.PHONY: all clean install
+.PHONY: all clean install install-strip uninstall
+
+INSTALL_PROGRAM?=install
all: bf2c gen_bf
@@ -17,4 +19,11 @@ clean:
rm bf2c gen_bf $(obj)
install:
- install bf2c gen_bf $(PREFIX)/bin
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL_PROGRAM) bf2c gen_bf $(DESTDIR)$(PREFIX)/bin
+
+install-strip:
+ $(MAKE) INSTALL_PROGRAM='install -s' install
+
+uninstall:
+ rm -rf $(DESTDIR)$(PREFIX)/bin