$NetBSD: patch-aj,v 1.2 2010/03/03 14:30:13 is Exp $

--- Makefile.in.orig	1996-07-22 18:32:53.000000000 +0200
+++ Makefile.in
@@ -299,15 +299,9 @@ ppmtolut: ppmtolut.c
 	$(CC) -o $@ $(CFLAGS) ppmtolut.c -lm $(STATIC)
 
 install: force
-	 cp vic @prefix@/bin/vic
-	 chown bin @prefix@/bin/vic
-	 chgrp bin @prefix@/bin/vic
-	 chmod 555 @prefix@/bin/vic
-	 cp vic.1 @prefix@/man/vic.1
-	 cp histtolut @prefix@/bin/histtolut
-	 chown bin @prefix@/bin/histtolut
-	 chgrp bin @prefix@/bin/histtolut
-	 chmod 555 @prefix@/bin/histtolut
+	${BSD_INSTALL_PROGRAM} vic ${DESTDIR}@prefix@/bin
+	${BSD_INSTALL_MAN} vic.1 ${DESTDIR}@prefix@/man/man1
+	${BSD_INSTALL_PROGRAM} histtolut ${DESTDIR}@prefix@/bin
 
 clean:
 	rm -f *.o jpeg/*.o p64/*.o core tcl2c++ mkbv bv.c mkhuff huffcode.c \
