1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/news/leafnode+/files/patch-aa
Matthew Hunt 5ac223b556 Upgrade to 2.3.
PR:		9208
Submitted by:	Tom Hukins <tom@eborcom.com>
1998-12-28 23:19:54 +00:00

33 lines
967 B
Makefile

--- Makefile.orig Thu Dec 24 01:41:37 1998
+++ Makefile Sun Dec 27 17:04:30 1998
@@ -1,11 +1,8 @@
# -*- makefile -*-
# $Orig-Id: Makefile,v 1.16 1997/07/20 00:28:31 agulbra Exp $
-CC = gcc
DEBUG = -g -Wall -Wformat -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS = $(DEBUG)
LIBS =
-BINDIR = /usr/local/sbin
-MANDIR = /usr/local/man
+BINDIR = $(PREFIX)/sbin
VERSION = 2.3
#
# if you want to use Socks, use following
@@ -27,7 +24,7 @@
#
# this is the directory where the configuration and group information is
# kept. It should preferably not be on the same partition as spooldir
-LIBDIR = /usr/lib/leafnode
+LIBDIR = $(PREFIX)/lib/leafnode
all: leafnode fetchnews texpire checkgroups leaftool
@@ -91,7 +88,6 @@
$${a}$${b}6 $${a}$${b}7 $${a}$${b}8 \
$${a}$${b}9 ; \
done ; done
- cp config.example $(LIBDIR)
chown -R news.news $(LIBDIR)/. $(SPOOLDIR)/.
chmod 2750 $(SPOOLDIR)
@echo edit /etc/inetd.conf to start $(BINDIR)/leafnode