Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 23:32:31 +0100 (BST)
From:      Lewis Thompson <purple@lewiz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65509: [ NEW PORT ] news/nzbget -- newsleecher that supports NZB format
Message-ID:  <200404132232.i3DMWV8v077642@black.fajita.org>
Resent-Message-ID: <200404132240.i3DMeEk7082365@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 15:40:13 PDT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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