9b90b3ca6e
web and other TCP-based servers, allowing for server load balancing (SLB) functionality through *BSD's PF packet filter. WWW: http://slbd.sourceforge.net/ PR: ports/104926 Submitted by: Janos Mohacsi <janos.mohacsi at bsd.hu>
32 lines
587 B
Text
32 lines
587 B
Text
|
|
$FreeBSD$
|
|
|
|
--- 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
|