diff options
author | lippe <lippe@FreeBSD.org> | 2008-03-19 20:38:00 +0800 |
---|---|---|
committer | lippe <lippe@FreeBSD.org> | 2008-03-19 20:38:00 +0800 |
commit | 486dcdaaa86538d798a7b2431ae2528e30d3df10 (patch) | |
tree | 10a9a0a944bcbdf3fb4fe5a506c60820bc23f275 /news/nzbget/files | |
parent | b20a4e320766bdc0d57506bab26274fbe4bfa3d7 (diff) | |
download | freebsd-ports-gnome-486dcdaaa86538d798a7b2431ae2528e30d3df10.tar.gz freebsd-ports-gnome-486dcdaaa86538d798a7b2431ae2528e30d3df10.tar.zst freebsd-ports-gnome-486dcdaaa86538d798a7b2431ae2528e30d3df10.zip |
- Update to 0.3.1.
- Fix pkg-plist.
- Makefile cleanup.
- Remove unnecessary patches.
- Use CONFIGURE_ARGS to disable use of libpar2 (not present in ports).
PR: ports/121225
Submitted by: myself
Approved by: gabor (mentor), maintainer timeout (> 2 weeks)
Diffstat (limited to 'news/nzbget/files')
-rw-r--r-- | news/nzbget/files/patch-Connection.cpp | 11 | ||||
-rw-r--r-- | news/nzbget/files/patch-Coordinator.cpp | 10 | ||||
-rw-r--r-- | news/nzbget/files/patch-Decoder.cpp | 11 | ||||
-rw-r--r-- | news/nzbget/files/patch-Makefile.in | 55 | ||||
-rw-r--r-- | news/nzbget/files/patch-NCursesFrontend.cpp | 19 | ||||
-rw-r--r-- | news/nzbget/files/patch-NNTPConnection.h | 10 | ||||
-rw-r--r-- | news/nzbget/files/patch-NZBQueue.cpp | 10 | ||||
-rw-r--r-- | news/nzbget/files/patch-configure | 28 |
8 files changed, 9 insertions, 145 deletions
diff --git a/news/nzbget/files/patch-Connection.cpp b/news/nzbget/files/patch-Connection.cpp deleted file mode 100644 index 6a30dca06302..000000000000 --- a/news/nzbget/files/patch-Connection.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- 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-Coordinator.cpp b/news/nzbget/files/patch-Coordinator.cpp deleted file mode 100644 index 05cd3edede38..000000000000 --- a/news/nzbget/files/patch-Coordinator.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- Coordinator.cpp~ Wed Feb 23 09:05:23 2005 -+++ Coordinator.cpp Fri Apr 15 15:41:42 2005 -@@ -28,6 +28,7 @@ - #endif - - #include <unistd.h> -+#include <libgen.h> - - #include "global.h" - #include "Coordinator.h" diff --git a/news/nzbget/files/patch-Decoder.cpp b/news/nzbget/files/patch-Decoder.cpp deleted file mode 100644 index 8a12e23c26b3..000000000000 --- a/news/nzbget/files/patch-Decoder.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- 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-Makefile.in b/news/nzbget/files/patch-Makefile.in deleted file mode 100644 index 23b8da2b509a..000000000000 --- a/news/nzbget/files/patch-Makefile.in +++ /dev/null @@ -1,55 +0,0 @@ ---- Makefile.in.orig Sun Feb 27 12:59:05 2005 -+++ Makefile.in Fri Apr 15 16:31:02 2005 -@@ -19,8 +19,8 @@ - CP = @CP@ - CFLAGS = @CFLAGS@ - DEFS = @DEFS@ -DVERSION=\"$(VERSION)\" --CPPFLAGS = -I./uulib @CPPFLAGS@ --LDFLAGS = -L./uulib @LDFLAGS@ -+CPPFLAGS = @CPPFLAGS@ -+LDFLAGS = @LDFLAGS@ - LIBS = -luu -lncurses @LIBS@ - INSTALL = @INSTALL@ - -@@ -94,19 +94,14 @@ - - # Executable programmes - # --nzbget: $(OBJECTS) nzbget.o ./uulib/libuu.a -+nzbget: $(OBJECTS) nzbget.o - $(CXX) $(CFLAGS) -o $@ $(OBJECTS) nzbget.o $(LDFLAGS) $(LIBS) - @echo "Build succeeded." - --./uulib/libuu.a: -- make -C uulib -- - clean: -- -cd ./uulib && make clean && cd .. - -$(RM) -f *.o $(PROGRAMS) .depend libuu.a - - distclean: clean -- -cd ./uulib && make distclean && cd .. - -$(RM) -f Makefile config.status config.log config.h .depend - - -@@ -123,17 +118,15 @@ - - distrib: - $(MKDIR) nzbget-$(VERSION) -- $(MKDIR) nzbget-$(VERSION)/uulib - $(CP) -av $(DISTFILES) nzbget-$(VERSION) -- $(CP) -av $(UUDISTFILES) nzbget-$(VERSION)/uulib - cd nzbget-$(VERSION) && ./configure -- cd nzbget-$(VERSION) && make -- cd nzbget-$(VERSION) && make distclean -+ cd nzbget-$(VERSION) && ${MAKE} -+ cd nzbget-$(VERSION) && ${MAKE} distclean - tar -czf nzbget-$(VERSION).tar.gz nzbget-$(VERSION) - $(RM) -r nzbget-$(VERSION) - - install: nzbget -- $(INSTALL) nzbget /usr/bin/nzbget -+ $(INSTALL) nzbget ${PREFIX}/bin/nzbget - - - -include .depend diff --git a/news/nzbget/files/patch-NCursesFrontend.cpp b/news/nzbget/files/patch-NCursesFrontend.cpp deleted file mode 100644 index 6e8cbb8fff6b..000000000000 --- a/news/nzbget/files/patch-NCursesFrontend.cpp +++ /dev/null @@ -1,19 +0,0 @@ ---- NCursesFrontend.cpp~ Wed Feb 23 09:05:23 2005 -+++ NCursesFrontend.cpp Fri Apr 15 15:43:27 2005 -@@ -27,6 +27,7 @@ - #include <unistd.h> - #include <stdarg.h> - #include <signal.h> -+#include <libgen.h> - - #include "NCursesFrontend.h" - -@@ -342,7 +343,7 @@ - NCURSES_COLORPAIR_DEBUG}; - - NCOLORON( iMessageTypeColor[Msg.m_eType] ); -- mvprintw( iRow, 0, szMessageType[ Msg.m_eType ] ); -+ mvprintw( iRow, 0, (char *)szMessageType[ Msg.m_eType ] ); - NCOLOROFF( iMessageTypeColor[Msg.m_eType] ); - - char szBuffer[512]; diff --git a/news/nzbget/files/patch-NNTPConnection.h b/news/nzbget/files/patch-NNTPConnection.h deleted file mode 100644 index b4337ec4fa89..000000000000 --- a/news/nzbget/files/patch-NNTPConnection.h +++ /dev/null @@ -1,10 +0,0 @@ ---- 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-NZBQueue.cpp b/news/nzbget/files/patch-NZBQueue.cpp deleted file mode 100644 index 6a6aeb30a98d..000000000000 --- a/news/nzbget/files/patch-NZBQueue.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- NZBQueue.cpp~ Wed Feb 23 09:05:23 2005 -+++ NZBQueue.cpp Fri Apr 15 15:40:41 2005 -@@ -26,6 +26,7 @@ - #ifdef HAVE_CONFIG_H - #include <config.h> - #endif -+#include <libgen.h> - - #include "NZBQueue.h" - #include "global.h" diff --git a/news/nzbget/files/patch-configure b/news/nzbget/files/patch-configure index 1b7b99f44f33..94929759b9d5 100644 --- a/news/nzbget/files/patch-configure +++ b/news/nzbget/files/patch-configure @@ -1,24 +1,14 @@ ---- 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" +--- configure.old 2008-02-29 12:18:26.000000000 -0300 ++++ configure 2008-02-29 12:20:35.000000000 -0300 +@@ -2362,7 +2362,10 @@ + CPPFLAGS1="${CPPFLAGS} -D_GNU_SOURCE" ;; -- *-solaris*) -+ *-freebsd*) -+ LIBPREF="${LOCALBASE}" + *-freebsd*) +- LIBPREF1="/usr/local" ++ LIBPREF1="${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' + *-solaris*) + LIBPREF1="/usr" |