summaryrefslogtreecommitdiffstats
path: root/news/nzbget
diff options
context:
space:
mode:
Diffstat (limited to 'news/nzbget')
-rw-r--r--news/nzbget/Makefile35
-rw-r--r--news/nzbget/distinfo2
-rw-r--r--news/nzbget/files/patch-ArticleDownloader.cpp11
-rw-r--r--news/nzbget/files/patch-Connection.cpp11
-rw-r--r--news/nzbget/files/patch-Decoder.cpp11
-rw-r--r--news/nzbget/files/patch-NNTPConnection.h10
-rw-r--r--news/nzbget/files/patch-configure24
-rw-r--r--news/nzbget/pkg-descr5
8 files changed, 109 insertions, 0 deletions
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile
new file mode 100644
index 0000000..11c1d8f
--- /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 0000000..5df7313
--- /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 0000000..87a722e
--- /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 0000000..6a30dca
--- /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 0000000..8a12e23c
--- /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 0000000..b4337ec
--- /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 0000000..1b7b99f
--- /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 0000000..4149078
--- /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/
OpenPOWER on IntegriCloud