mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
89304c8187
HTTPS. While here, regenerate patch for lang/bf2c to pet portlint.
24 lines
501 B
Plaintext
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
|