summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/xvnews/Makefile26
-rw-r--r--news/xvnews/distinfo1
-rw-r--r--news/xvnews/files/patch-aa36
-rw-r--r--news/xvnews/files/patch-ab36
-rw-r--r--news/xvnews/files/patch-ac21
-rw-r--r--news/xvnews/files/patch-ad14
-rw-r--r--news/xvnews/pkg-comment1
-rw-r--r--news/xvnews/pkg-descr7
-rw-r--r--news/xvnews/pkg-plist4
9 files changed, 146 insertions, 0 deletions
diff --git a/news/xvnews/Makefile b/news/xvnews/Makefile
new file mode 100644
index 000000000000..07e4541af878
--- /dev/null
+++ b/news/xvnews/Makefile
@@ -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>
diff --git a/news/xvnews/distinfo b/news/xvnews/distinfo
new file mode 100644
index 000000000000..9a1671347e8a
--- /dev/null
+++ b/news/xvnews/distinfo
@@ -0,0 +1 @@
+MD5 (xvnews-2.3.2.tar.gz) = ed5e757f972b84c3f827cc8ff4b6c3c1
diff --git a/news/xvnews/files/patch-aa b/news/xvnews/files/patch-aa
new file mode 100644
index 000000000000..4268f1fffb90
--- /dev/null
+++ b/news/xvnews/files/patch-aa
@@ -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.
diff --git a/news/xvnews/files/patch-ab b/news/xvnews/files/patch-ab
new file mode 100644
index 000000000000..76d05e5869e7
--- /dev/null
+++ b/news/xvnews/files/patch-ab
@@ -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
+
diff --git a/news/xvnews/files/patch-ac b/news/xvnews/files/patch-ac
new file mode 100644
index 000000000000..7cf404d7b909
--- /dev/null
+++ b/news/xvnews/files/patch-ac
@@ -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
diff --git a/news/xvnews/files/patch-ad b/news/xvnews/files/patch-ad
new file mode 100644
index 000000000000..5c68501fe00b
--- /dev/null
+++ b/news/xvnews/files/patch-ad
@@ -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
diff --git a/news/xvnews/pkg-comment b/news/xvnews/pkg-comment
new file mode 100644
index 000000000000..1778f61eeb32
--- /dev/null
+++ b/news/xvnews/pkg-comment
@@ -0,0 +1 @@
+An OPEN LOOK news reader.
diff --git a/news/xvnews/pkg-descr b/news/xvnews/pkg-descr
new file mode 100644
index 000000000000..b3bf2655bd4e
--- /dev/null
+++ b/news/xvnews/pkg-descr
@@ -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.
+
diff --git a/news/xvnews/pkg-plist b/news/xvnews/pkg-plist
new file mode 100644
index 000000000000..51bd02a81242
--- /dev/null
+++ b/news/xvnews/pkg-plist
@@ -0,0 +1,4 @@
+bin/xvnews
+lib/libguide.a
+lib/libguidexv.a
+man/man1/xvnews.1.gz