--- iptraf-2.7.0/src/Makefile.orig	2003-08-25 22:23:43.000000000 -0400
+++ iptraf-2.7.0/src/Makefile	2003-08-25 22:30:43.000000000 -0400
@@ -68,17 +68,17 @@
 # installation target directory.  The iptraf and rvnamed programs get
 # stored here.  iptraf also exec's rvnamed from this directory.
 
-TARGET		= /usr/sbin
+TARGET		= $(DESTDIR)/usr/sbin
 
 # The IPTraf working directory; if you change this.  Starting with this
 # version, this definition overrides dirs.h.
 
-WORKDIR		= /var/cache/iptraf
+WORKDIR		= $(DESTDIR)/var/cache/iptraf
 
 # The IPTraf log file directory.  IPTraf log files are placed here.
 # This definition overrides dirs.h
 
-LOGDIR		= /var/log/iptraf
+LOGDIR		= $(DESTDIR)/var/log/iptraf
 
 #
 # IPTraf lock file directory.  This is /var/run/iptraf/ and will not
@@ -89,7 +89,7 @@
 # DO NOT MAKE THIS POINT TO AN EXISTING/SYSTEM DIRECTORY!!!!  THE
 # LOCK OVERRIDE (iptraf -f) WILL ERASE FILES HERE!
 #*****************************************************************
-LOCKDIR		= /var/run/iptraf
+LOCKDIR		= $(DESTDIR)/var/run/iptraf
 
 #####################################################################
 ############### IPTRAF COMPILATION AND LINK RULES
