opnsense-ports/misc/hb/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

25 lines
1.4 KiB
Text

--- 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