diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-17 21:26:30 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-17 21:26:30 +0000 |
commit | 02405b3eba5cc93a2a415190588c050111addac2 (patch) | |
tree | 4a8738274a92ed42e44ff429c441043cbc37c1a3 /news | |
parent | 5c993dc1aef4015caecc5b0921173fbef96205b7 (diff) | |
download | ports-02405b3eba5cc93a2a415190588c050111addac2.tar.gz ports-02405b3eba5cc93a2a415190588c050111addac2.zip |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/Makefile | 1 | ||||
-rw-r--r-- | news/nzbget/Makefile | 35 | ||||
-rw-r--r-- | news/nzbget/distinfo | 2 | ||||
-rw-r--r-- | news/nzbget/files/patch-ArticleDownloader.cpp | 11 | ||||
-rw-r--r-- | news/nzbget/files/patch-Connection.cpp | 11 | ||||
-rw-r--r-- | news/nzbget/files/patch-Decoder.cpp | 11 | ||||
-rw-r--r-- | news/nzbget/files/patch-NNTPConnection.h | 10 | ||||
-rw-r--r-- | news/nzbget/files/patch-configure | 24 | ||||
-rw-r--r-- | news/nzbget/pkg-descr | 5 |
9 files changed, 110 insertions, 0 deletions
diff --git a/news/Makefile b/news/Makefile index 4211f2f9b63e..1e79c65a7cd9 100644 --- a/news/Makefile +++ b/news/Makefile @@ -55,6 +55,7 @@ SUBDIR += nntpcache SUBDIR += nntpswitch SUBDIR += noffle + SUBDIR += nzbget SUBDIR += p5-Gateway SUBDIR += p5-NNTPClient SUBDIR += p5-News-Article diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile new file mode 100644 index 000000000000..11c1d8f99c25 --- /dev/null +++ b/news/nzbget/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: nzbget +# Date created: 13 April 2004 +# Whom: Lewis Thompson <purple@lewiz.net> +# +# $FreeBSD$ +# + +PORTNAME= nzbget +PORTVERSION= 0.1.1 +CATEGORIES= news +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= nzbget + +MAINTAINER= purple@lewiz.net +COMMENT= A binary newsreader supporting NZB files + +LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ + uu.3:${PORTSDIR}/converters/uulib + +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" \ + LOCALBASE="${LOCALBASE}" +USE_GMAKE= yes +USE_REINPLACE= yes + +PLIST_FILES= bin/nzbget etc/nzbget.cfg.example + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/bin/nzbget|${PREFIX}/bin/nzbget|' ${WRKSRC}/Makefile.in + +post-install: + ${INSTALL_DATA} ${WRKSRC}/nzbget.cfg.example ${PREFIX}/etc + +.include <bsd.port.mk> diff --git a/news/nzbget/distinfo b/news/nzbget/distinfo new file mode 100644 index 000000000000..5df7313c9718 --- /dev/null +++ b/news/nzbget/distinfo @@ -0,0 +1,2 @@ +MD5 (nzbget-0.1.1.tar.gz) = a653120fac3dde326e0305fb4a1fb27d +SIZE (nzbget-0.1.1.tar.gz) = 82928 diff --git a/news/nzbget/files/patch-ArticleDownloader.cpp b/news/nzbget/files/patch-ArticleDownloader.cpp new file mode 100644 index 000000000000..87a722e3ac13 --- /dev/null +++ b/news/nzbget/files/patch-ArticleDownloader.cpp @@ -0,0 +1,11 @@ +--- ArticleDownloader.cpp.orig Fri Apr 2 18:55:19 2004 ++++ ArticleDownloader.cpp Sat Apr 17 22:57:09 2004 +@@ -27,6 +27,8 @@ + #include <config.h> + #endif + ++#include <unistd.h> ++ + #include "ArticleDownloader.h" + #include "Decoder.h" + #include "global.h" diff --git a/news/nzbget/files/patch-Connection.cpp b/news/nzbget/files/patch-Connection.cpp new file mode 100644 index 000000000000..6a30dca06302 --- /dev/null +++ b/news/nzbget/files/patch-Connection.cpp @@ -0,0 +1,11 @@ +--- Connection.cpp.orig Fri Apr 2 18:55:19 2004 ++++ Connection.cpp Sat Apr 17 23:12:22 2004 +@@ -27,6 +27,8 @@ + #include <config.h> + #endif + ++#include <sys/types.h> ++ + #include <string.h> + #include <stdlib.h> + #include <netdb.h> diff --git a/news/nzbget/files/patch-Decoder.cpp b/news/nzbget/files/patch-Decoder.cpp new file mode 100644 index 000000000000..8a12e23c26b3 --- /dev/null +++ b/news/nzbget/files/patch-Decoder.cpp @@ -0,0 +1,11 @@ +--- Decoder.cpp.orig Wed Feb 25 13:46:10 2004 ++++ Decoder.cpp Sat Apr 17 23:14:45 2004 +@@ -29,6 +29,8 @@ + + #define PROTOTYPES + ++#include <unistd.h> ++ + #include <stdlib.h> + #include <stdio.h> + #include <uudeview.h> diff --git a/news/nzbget/files/patch-NNTPConnection.h b/news/nzbget/files/patch-NNTPConnection.h new file mode 100644 index 000000000000..b4337ec4fa89 --- /dev/null +++ b/news/nzbget/files/patch-NNTPConnection.h @@ -0,0 +1,10 @@ +--- NNTPConnection.h.orig Fri Apr 2 18:55:19 2004 ++++ NNTPConnection.h Sat Apr 17 22:53:55 2004 +@@ -26,6 +26,7 @@ + #ifndef NNTPCONNECTION_H + #define NNTPCONNECTION_H + ++#include <sys/types.h> + #include <sys/socket.h> + #include <stdio.h> + #include <vector> diff --git a/news/nzbget/files/patch-configure b/news/nzbget/files/patch-configure new file mode 100644 index 000000000000..1b7b99f44f33 --- /dev/null +++ b/news/nzbget/files/patch-configure @@ -0,0 +1,24 @@ +--- configure.orig Thu Feb 26 15:49:46 2004 ++++ configure Tue Apr 13 22:55:38 2004 +@@ -1303,13 +1303,19 @@ + CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" + PLATFORM="Linux" + ;; +- *-solaris*) ++ *-freebsd*) ++ LIBPREF="${LOCALBASE}" ++ CFLAGS="${CFLAGS}" ++ CPPFLAGS="${CPPFLAGS}" ++ PLATFORM="FreeBSD" ++ ;; ++ *-solaris*) + LIBPREF="/usr/local" + PLATFORM="SunOS" + ;; + esac + +-CFLAGS="-Wall -g -O0 -pipe" CPPFLAGS="-I. ${CPPFLAGS}" ++CFLAGS="${CFLAGS} -Wall" CPPFLAGS="-I. ${CPPFLAGS}" + + ac_ext=cc + ac_cpp='$CXXCPP $CPPFLAGS' diff --git a/news/nzbget/pkg-descr b/news/nzbget/pkg-descr new file mode 100644 index 000000000000..414907853a62 --- /dev/null +++ b/news/nzbget/pkg-descr @@ -0,0 +1,5 @@ +NZBGet is a binary newsgrabber, which downloads files from usenet based +on information given in nzb-files. Descriptino of nzb format is available +at http://docs.newzbin.com/ + +WWW: http://sourceforge.net/projects/nzbget/ |