1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Import of xvnews, an OpenLook newsreader.

Closes PR 1525.

Submitted by:	Andreas Kohout <shanee@rabbit.augusta.de>
This commit is contained in:
Thomas Gellekum 1996-11-25 09:53:06 +00:00
parent 3275a8ea37
commit e7c7b56ee8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4661
9 changed files with 146 additions and 0 deletions

26
news/xvnews/Makefile Normal file
View File

@ -0,0 +1,26 @@
# New ports collection makefile for: xvnews
# Version required: 2.3.2
# Date created: 31 Jul 1996
# Whom: shanee@rabbit.augusta.de
#
# $Id$
#
DISTNAME= xvnews-2.3.2
CATEGORIES= news x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications
MAINTAINER= shanee@rabbit.augusta.de
LIB_DEPENDS= xview\\.3\\.:${PORTSDIR}/x11/xview-lib
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
MAN1= xvnews.1
post-install:
${INSTALL_MAN} $(WRKSRC)/xvnews.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>

1
news/xvnews/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xvnews-2.3.2.tar.gz) = ed5e757f972b84c3f827cc8ff4b6c3c1

View File

@ -0,0 +1,36 @@
*** ./guide/libguide/gio.c.orig Wed Jul 31 15:09:36 1996
--- ./guide/libguide/gio.c Wed Jul 31 15:10:58 1996
***************
*** 57,63 ****
#else
#include <varargs.h>
#endif
! #include <malloc.h>
#include "guide.h"
#include "gio.h"
--- 57,63 ----
#else
#include <varargs.h>
#endif
! #include <stdlib.h>
#include "guide.h"
#include "gio.h"
***************
*** 84,90 ****
* System error message definitions.
*/
extern int sys_nerr;
! extern char *sys_errlist[];
/*
* Internal function declarations.
--- 84,90 ----
* System error message definitions.
*/
extern int sys_nerr;
! /*extern char *sys_errlist[];*/
/*
* Internal function declarations.

View File

@ -0,0 +1,36 @@
*** Imakefile.orig Sun Sep 25 20:17:35 1994
--- Imakefile Wed Nov 20 19:41:32 1996
***************
*** 13,19 ****
SUBDIRS = $(LIBGUIDE) $(GUIDEXV)
XVIEWLIB = -lxview -lolgx -lX11
! XVIEWDIR = /usr/openwin/lib
MakeSubdirs($(SUBDIRS))
--- 13,19 ----
SUBDIRS = $(LIBGUIDE) $(GUIDEXV)
XVIEWLIB = -lxview -lolgx -lX11
! XVIEWDIR = /usr/X11R6/lib
MakeSubdirs($(SUBDIRS))
***************
*** 22,28 ****
SYS_LIBRARIES = #-lintl
# Add -linn to the following line if you want to support nnrp.passwd
! LOCAL_LIBRARIES = -L$(GUIDEXV) -lguidexv -L$(LIBGUIDE) -lguide -L$(XVIEWDIR) $(XVIEWLIB)
ICONS = news.icon
--- 22,28 ----
SYS_LIBRARIES = #-lintl
# Add -linn to the following line if you want to support nnrp.passwd
! LOCAL_LIBRARIES = -L$(GUIDEXV) -lguidexv -L$(LIBGUIDE) -lguide -L$(XVIEWDIR) $(XVIEWLIB) -lcompat
ICONS = news.icon

View File

@ -0,0 +1,21 @@
*** config.h.orig Wed Nov 20 19:15:27 1996
--- config.h Wed Nov 20 19:15:15 1996
***************
*** 120,127 ****
SVR4_REGEX. On other systems you might try first
to see whether POSIX is supported. */
! #undef POSIX_REGEX
! #define SVR4_REGEX
#undef BSD_REGEX
/* xvnews needs to know the timezone you are in in order to present dates
--- 120,127 ----
SVR4_REGEX. On other systems you might try first
to see whether POSIX is supported. */
! #define POSIX_REGEX
! #undef SVR4_REGEX
#undef BSD_REGEX
/* xvnews needs to know the timezone you are in in order to present dates

View File

@ -0,0 +1,14 @@
*** xv_regex.c.orig Wed Nov 20 19:28:51 1996
--- xv_regex.c Wed Nov 20 19:21:09 1996
***************
*** 57,62 ****
--- 57,65 ----
#if defined(POSIX_REGEX)
#include <regex.h>
+ #ifndef REG_NOERROR
+ #define REG_NOERROR 0
+ #endif
#else
#include <regexp.h>
#endif

1
news/xvnews/pkg-comment Normal file
View File

@ -0,0 +1 @@
An OPEN LOOK news reader.

7
news/xvnews/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
xvnews 2.3.2 is an OpenLook interface for reading Usenet
news. It provides a menu-driven facility for reading,
storing and sending news articles. It also provides mail
functionality to reply to or forward news articles. Scrol-
lable windows allow easy access to newsgroups and arti-
cles.

4
news/xvnews/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/xvnews
lib/libguide.a
lib/libguidexv.a
man/man1/xvnews.1.gz