freebsd-ports/misc/hb/files/patch-Makefile
2014-09-05 18:35:38 +00:00

26 lines
1.4 KiB
Plaintext

--- Makefile.orig 2014-07-15 21:44:10.713832840 +0800
+++ Makefile 2014-07-15 21:43:38.083846847 +0800
@@ -4,13 +4,13 @@
all: # Do nothing - this is a python script that needs no build
install:
- install -c -o root -g wheel -m 755 ./hb.py ${PREFIX}/bin
- mkdir ${PREFIX}/share/doc/hb
- install -c -o root -g wheel -m 644 ./hb.1.gz ${PREFIX}/man/man1
- install -c -o root -g wheel -m 644 ./hb.txt ${PREFIX}/share/doc/hb
- install -c -o root -g wheel -m 644 ./0-StartHere.txt ${PREFIX}/share/doc/hb
- install -c -o root -g wheel -m 644 ./1-HB-License.txt ${PREFIX}/share/doc/hb
- install -c -o root -g wheel -m 644 ./2-HowToUse.txt ${PREFIX}/share/doc/hb
- install -c -o root -g wheel -m 644 ./3-UnderTheHood.txt ${PREFIX}/share/doc/hb
- install -c -o root -g wheel -m 644 ./4-Limitations-Enhancements.txt ${PREFIX}/share/doc/hb
+ $(BSD_INSTALL_SCRIPT) ./hb.py $(DESTDIR)${PREFIX}/bin
+ mkdir $(DESTDIR)${PREFIX}/share/doc/hb
+ $(BSD_INSTALL_MAN) ./hb.1.gz $(DESTDIR)${PREFIX}/man/man1
+ $(BSD_INSTALL_DATA) ./hb.txt $(DESTDIR)${PREFIX}/share/doc/hb
+ $(BSD_INSTALL_DATA) ./0-StartHere.txt $(DESTDIR)${PREFIX}/share/doc/hb
+ $(BSD_INSTALL_DATA) ./1-HB-License.txt $(DESTDIR)${PREFIX}/share/doc/hb
+ $(BSD_INSTALL_DATA) ./2-HowToUse.txt $(DESTDIR)${PREFIX}/share/doc/hb
+ $(BSD_INSTALL_DATA) ./3-UnderTheHood.txt $(DESTDIR)${PREFIX}/share/doc/hb
+ $(BSD_INSTALL_DATA) ./4-Limitations-Enhancements.txt $(DESTDIR)${PREFIX}/share/doc/hb