From lewiz@fajita.org  Tue Apr 13 15:32:38 2004
Return-Path: <lewiz@fajita.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 40F7E16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Apr 2004 15:32:38 -0700 (PDT)
Received: from deluge.umist.ac.uk (deluge.umist.ac.uk [130.88.120.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3007743D5C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Apr 2004 15:32:37 -0700 (PDT)
	(envelope-from lewiz@fajita.org)
Received: from lh014.halls.umist.ac.uk ([130.88.163.14] helo=infidel.fajita.org)
	by deluge.umist.ac.uk with esmtp (Exim 4.24)
	id 1BDWSJ-0003EE-Ov
	for FreeBSD-gnats-submit@freebsd.org; Tue, 13 Apr 2004 23:32:35 +0100
Received: from black.fajita.org (black.fajita.org [192.168.0.13])
	by infidel.fajita.org (8.12.10/8.12.10) with ESMTP id i3DMWQOX031446
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Apr 2004 23:32:27 +0100 (BST)
	(envelope-from lewiz@fajita.org)
Received: (from lewiz@localhost)
	by black.fajita.org (8.12.10/8.12.10/Submit) id i3DMWV8v077642;
	Tue, 13 Apr 2004 23:32:31 +0100 (BST)
	(envelope-from lewiz)
Message-Id: <200404132232.i3DMWV8v077642@black.fajita.org>
Date: Tue, 13 Apr 2004 23:32:31 +0100 (BST)
From: Lewis Thompson <purple@lewiz.net>
Reply-To: Lewis Thompson <purple@lewiz.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [ NEW PORT ] news/nzbget -- newsleecher that supports NZB format
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         65509
>Category:       ports
>Synopsis:       [ NEW PORT ] news/nzbget -- newsleecher that supports NZB format
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 15:40:13 PDT 2004
>Closed-Date:    Sat Apr 17 14:27:27 PDT 2004
>Last-Modified:  Sat Apr 17 14:27:27 PDT 2004
>Originator:     Lewis Thompson
>Release:        FreeBSD 5.2.1-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD black.fajita.org 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #1: Wed Mar 31 02:45:07 BST 2004 root@black.fajita.org:/usr/src/sys/i386/compile/BLACK i386


	
>Description:
	This is a simple port for nzbget.
>How-To-Repeat:
	
>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:
#
#	nzbget
#	nzbget/Makefile
#	nzbget/distinfo
#	nzbget/pkg-descr
#	nzbget/files
#	nzbget/files/patch-configure
#
echo c - nzbget
mkdir -p nzbget > /dev/null 2>&1
echo x - nzbget/Makefile
sed 's/^X//' >nzbget/Makefile << 'END-of-nzbget/Makefile'
X# New ports collection makefile for:	nzbget
X# Date created:				13 April 2004
X# Whom:					Lewis Thompson <purple@lewiz.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	nzbget
XPORTVERSION=	0.1.1
XCATEGORIES=	news
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	nzbget
X
XMAINTAINER=	purple@lewiz.net
XCOMMENT=	A binary newsreader supporting NZB files
X
XLIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
X		uu.3:${PORTSDIR}/converters/uulib
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
X		CFLAGS="${CFLAGS} -pthread"
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
X
XPLIST_FILES=	bin/nzbget etc/nzbget.cfg.example
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr/bin/nzbget|${PREFIX}/bin/nzbget|' ${WRKSRC}/Makefile.in
X
Xpost-install:
X	${INSTALL_DATA} ${WRKSRC}/nzbget.cfg.example ${PREFIX}/etc
X
X.include <bsd.port.mk>
END-of-nzbget/Makefile
echo x - nzbget/distinfo
sed 's/^X//' >nzbget/distinfo << 'END-of-nzbget/distinfo'
XMD5 (nzbget-0.1.1.tar.gz) = a653120fac3dde326e0305fb4a1fb27d
XSIZE (nzbget-0.1.1.tar.gz) = 82928
END-of-nzbget/distinfo
echo x - nzbget/pkg-descr
sed 's/^X//' >nzbget/pkg-descr << 'END-of-nzbget/pkg-descr'
XNZBGet is a binary newsgrabber, which downloads files from usenet based
Xon information given in nzb-files. If you do not know, what I'm talking
Xabout, you should go to http://docs.newzbin.com/ and read their Usenet
X(newsgroups) documentation. ;-)
X
XWWW: http://sourceforge.net/projects/nzbget/
END-of-nzbget/pkg-descr
echo c - nzbget/files
mkdir -p nzbget/files > /dev/null 2>&1
echo x - nzbget/files/patch-configure
sed 's/^X//' >nzbget/files/patch-configure << 'END-of-nzbget/files/patch-configure'
X--- configure.orig	Thu Feb 26 15:49:46 2004
X+++ configure	Tue Apr 13 22:55:38 2004
X@@ -1303,13 +1303,19 @@
X     CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
X     PLATFORM="Linux"
X     ;;
X-  *-solaris*)
X+  *-freebsd*)
X+    LIBPREF="/usr/local"
X+    CFLAGS="${CFLAGS}"
X+    CPPFLAGS="${CPPFLAGS} -pthread"
X+    PLATFORM="FreeBSD"
X+    ;;
X+   *-solaris*)
X     LIBPREF="/usr/local"
X     PLATFORM="SunOS"
X     ;;
X esac
X 
X-CFLAGS="-Wall -g -O0 -pipe" CPPFLAGS="-I. ${CPPFLAGS}"
X+CFLAGS="${CFLAGS} -Wall -g -O0 -pipe" CPPFLAGS="-I. ${CPPFLAGS}"
X 
X ac_ext=cc
X ac_cpp='$CXXCPP $CPPFLAGS'
END-of-nzbget/files/patch-configure
exit

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Apr 17 14:27:18 PDT 2004 
State-Changed-Why:  
New port added, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65509 
>Unformatted:
