Update leafnode+ port to 2.8

PR: ports/13981
Submitted by: Tom Hukins <tom@freebsd.org>
This commit is contained in:
Dan Moschuk 1999-09-26 18:44:15 +00:00
parent a410f61634
commit a87e8c7f33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21959
3 changed files with 18 additions and 18 deletions

View file

@ -1,12 +1,12 @@
# New ports collection makefile for: leafnode+
# Version required: 2.6
# Version required: 2.8
# Date created: 19 November 1998
# Whom: Tom Hukins <tom@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= leafnode+-2.6
DISTNAME= leafnode+-2.8
CATEGORIES= news
MASTER_SITES= ftp://ftp.big.or.jp/pub/usr2/jam/leafnode/

View file

@ -1 +1 @@
MD5 (leafnode+-2.6.tar.gz) = 35e9714b0dc0d3e17cbb988497244e6a
MD5 (leafnode+-2.8.tar.gz) = aed4be6f1152fb48ba5999ce2cd0ab93

View file

@ -1,20 +1,20 @@
--- Makefile.orig Sun Jul 4 05:32:02 1999
+++ Makefile Sun Jul 4 05:32:42 1999
@@ -1,11 +1,8 @@
--- Makefile.orig Sun Aug 1 06:23:40 1999
+++ Makefile Sun Sep 26 18:18:55 1999
@@ -1,12 +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.6
-PREFIX = /usr/local
BINDIR = $(PREFIX)/sbin
-MANDIR = $(PREFIX)/man
VERSION = 2.8
#
# if you want to use Socks, use following
@@ -23,11 +20,11 @@
#CFLAGS = $(DEBUG) -DDOTNGFILE
# if you want to use Socks, use following.
@@ -29,11 +25,11 @@
#RANLIB = ranlib
#
# this is the directory where the news is stored.
-SPOOLDIR = /var/spool/news
@ -24,10 +24,10 @@
# kept. It should preferably not be on the same partition as spooldir
-LIBDIR = /usr/lib/leafnode
+LIBDIR = @LIBDIR@
all: leafnode fetchnews texpire checkgroups leaftool
@@ -79,7 +76,7 @@
#
# local library
LIBUTIL = libutil.a
@@ -93,7 +89,7 @@
@if [ -f $(BINDIR)/fetch ]; then echo don"'"t forget to change the name of a command in scripts and crontab from fetch into fetchnews.; fi
@if [ -f $(BINDIR)/newsfetch ]; then echo don"'"t forget to change the name of a command in scripts and crontab from newsfetch into fetchnews.; fi
@ -36,7 +36,7 @@
-mkdir -p $(SPOOLDIR) $(LIBDIR)
-mkdir -p $(SPOOLDIR)/message.id
-mkdir -p $(SPOOLDIR)/interesting.groups
@@ -91,7 +88,6 @@
@@ -105,7 +101,6 @@
$${a}$${b}6 $${a}$${b}7 $${a}$${b}8 \
$${a}$${b}9 ; \
done ; done