$FreeBSD: ports/net/slbd/files/patch-Makefile,v 1.1 2006/11/10 21:07:55 itetcu Exp $

--- Makefile.orig
+++ Makefile
@@ -14,15 +14,11 @@
 #SUBDIR=tests
 PROG=slbd
 MAN=
-PREFIX=/usr/local
+PREFIX=%%PREFIX%%
 BINDIR=sbin
 CONFDIR=etc
 
-.if exists(${PREFIX}/${CONFDIR}/slbdcap)
-CONFFILE=$(PREFIX)/$(CONFDIR)/slbdcap.new
-.else
-CONFFILE=$(PREFIX)/$(CONFDIR)/slbdcap
-.endif
+CONFFILE=$(PREFIX)/$(CONFDIR)/slbdcap-sample
 
 
 .c.o:
@@ -47,7 +43,7 @@
 install-slbd:
 	$(INSTALL) $(PROG) $(PREFIX)/$(BINDIR)/
 	#mkdir -p $(PREFIX)/$(CONFDIR)
-	#cp conf/slbdcap $(CONFFILE)
+	$(INSTALL) conf/slbdcap $(CONFFILE)
 
 config-clean:
 	rm -f config.o config_test config


syntax highlighted by Code2HTML, v. 0.9.1