--- Makefile.orig	Sun Sep 25 02:39:49 2005
+++ Makefile	Sun Sep 25 02:40:28 2005
@@ -75,13 +75,11 @@
 		ranlib $@
 
 install:	all
-		@mkdir -p $(PREFIX)/lib
-		cp libSockets.a $(PREFIX)/lib
-		cp libSocketsEx.a $(PREFIX)/lib
+		@${BSD_INSTALL_DATA} libSockets.a $(PREFIX)/lib
+		@${BSD_INSTALL_DATA} libSocketsEx.a $(PREFIX)/lib
 		@mkdir -p $(PREFIX)/include/Sockets
-		cp -a *.h $(PREFIX)/include/Sockets
-		@mkdir -p $(PREFIX)/bin
-		install Sockets-config $(PREFIX)/bin
+		@${BSD_INSTALL_DATA} *.h $(PREFIX)/include/Sockets
+		@${BSD_INSTALL_PROGRAM} Sockets-config $(PREFIX)/bin
 
 clean:
 		rm -f *.o *~ slask *.d $(PROGS) *.a */*~


syntax highlighted by Code2HTML, v. 0.9.1