--- Makefile.orig	2002-09-04 23:41:00 UTC
+++ Makefile
@@ -4,13 +4,12 @@
 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) ./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
 
