Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2001 01:25:11 +0200 (CEST)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30564: New port: news/xrn
Message-ID:  <20010913232511.7B08D3C83@totem.fix.no>

next in thread | raw e-mail | index | archive | help

>Number:         30564
>Category:       ports
>Synopsis:       New port: news/xrn
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 13 16:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

New port of xrn, a Usenet news reader for X.

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xrn
#	xrn/files
#	xrn/files/patch-config.h
#	xrn/Makefile
#	xrn/distinfo
#	xrn/pkg-comment
#	xrn/pkg-descr
#	xrn/pkg-plist
#
echo c - xrn
mkdir -p xrn > /dev/null 2>&1
echo c - xrn/files
mkdir -p xrn/files > /dev/null 2>&1
echo x - xrn/files/patch-config.h
sed 's/^X//' >xrn/files/patch-config.h << 'END-of-xrn/files/patch-config.h'
X--- config.h.orig	Thu Sep 13 22:21:27 2001
X+++ config.h	Thu Sep 13 22:22:41 2001
X@@ -34,6 +34,8 @@
X  * config.h: configurable defaults
X  */
X 
X+#define CONFIG_H_IS_OK
X+
X #ifndef CONFIG_H_IS_OK
X #error "You must edit config.h appropriately for your site!"
X #endif
X@@ -438,7 +440,7 @@
X #endif /* ! PRINTCOMMAND */
X 
X #ifndef SENDMAIL
X-#define SENDMAIL       "/usr/lib/sendmail -oi -t"
X+#define SENDMAIL       "/usr/sbin/sendmail -oi -t"
X #endif
X /* The command to use to verify that an E-mail address is valid.  it
X    should exit with status 0 if the address is valid.  It shouldn't
X@@ -447,7 +449,7 @@
X    If you don't want XRN to ever attempt to verify sender addresses in
X    postings and messages, don't define this. */
X #ifndef SENDMAIL_VERIFY
X-#define SENDMAIL_VERIFY "/usr/lib/sendmail -bv >/dev/null"
X+#define SENDMAIL_VERIFY "/usr/sbin/sendmail -bv >/dev/null"
X #endif
X 
X #define SAVEMODE       "normal,headers,onedir"
END-of-xrn/files/patch-config.h
echo x - xrn/Makefile
sed 's/^X//' >xrn/Makefile << 'END-of-xrn/Makefile'
X# New ports collection makefile for:	xrn
X# Date created:		13 September 2001
X# Whom:			Anders Nordby <anders@fix.no>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xrn
XPORTVERSION=	9.02
XCATEGORIES=	news
XMASTER_SITES=	ftp://sipb.mit.edu/pub/xrn/ \
X		ftp://ftp.nuug.no/pub/anders/distfiles/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	anders@fix.no
X
XDIST_SUBDIR=	xrn
X
XUSE_IMAKE=	yes
X
XMAN1=	xrn.1
XMANCOMPRESSED=	no
X
XDOCS=	COMMON-PROBLMS COPYRIGHT CREDITS ChangeLog xrn.1.html
X
Xdo-install:
X	${INSTALL_MAN} ${WRKSRC}/xrn._man ${PREFIX}/man/man1/xrn.1
X	${INSTALL_PROGRAM} ${WRKSRC}/xrn ${PREFIX}/bin/
X	${INSTALL_DATA}	${WRKSRC}/XRn.ad ${PREFIX}/lib/X11/app-defaults/XRn
X.if !defined(NOPORTDOCS)
X	@${INSTALL} -d -m 0755 ${DOCSDIR}
X.for f in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-xrn/Makefile
echo x - xrn/distinfo
sed 's/^X//' >xrn/distinfo << 'END-of-xrn/distinfo'
XMD5 (xrn/xrn-9.02.tgz) = 2920543df71c29fda8bb384a7c4f208b
END-of-xrn/distinfo
echo x - xrn/pkg-comment
sed 's/^X//' >xrn/pkg-comment << 'END-of-xrn/pkg-comment'
XUsenet News reader for the X Window System
END-of-xrn/pkg-comment
echo x - xrn/pkg-descr
sed 's/^X//' >xrn/pkg-descr << 'END-of-xrn/pkg-descr'
XXRN is a program for reading News via NNTP on a UNIX machine which supports the
XX Window System.
X
XXRN is compliant with the Good Net-Keeping Seal of Approval (GNKSA).
X
XWWW: http://www.mit.edu/people/jik/software/xrn.html
X
X- Anders Nordby <anders@fix.no>
END-of-xrn/pkg-descr
echo x - xrn/pkg-plist
sed 's/^X//' >xrn/pkg-plist << 'END-of-xrn/pkg-plist'
Xbin/xrn
Xlib/X11/app-defaults/XRn
X%%PORTDOCS%%share/doc/xrn/COMMON-PROBLMS
X%%PORTDOCS%%share/doc/xrn/COPYRIGHT
X%%PORTDOCS%%share/doc/xrn/CREDITS
X%%PORTDOCS%%share/doc/xrn/ChangeLog
X%%PORTDOCS%%share/doc/xrn/xrn.1.html
X%%PORTDOCS%%@dirrm share/doc/xrn
END-of-xrn/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010913232511.7B08D3C83>