freebsd-ports/editors/puff/files/patch-Makefile
2014-03-06 15:28:16 +00:00

16 lines
538 B
Text

--- ./Makefile.orig 2007-11-04 09:49:37.000000000 +0100
+++ ./Makefile 2014-03-06 16:27:34.118280667 +0100
@@ -9,9 +9,10 @@
fortune:
-@fortune
install: all
- install -m 0755 puff $(PREFIX)/bin
- mkdir -p $(PREFIX)/etc || echo -n
- install -m 0644 puff.conf $(PREFIX)/etc/puff.conf.sample
+ strip puff
+ install -m 0755 puff $(DESTDIR)$(PREFIX)/bin
+ mkdir -p $(DESTDIR)$(PREFIX)/etc || echo -n
+ install -m 0644 puff.conf $(DESTDIR)$(PREFIX)/etc/puff.conf.sample
uninstall:
rm -f $(PREFIX)/bin/puff $(PREFIX)/etc/puff.conf
clean: