diff options
author | mi <mi@FreeBSD.org> | 2002-02-28 17:05:45 +0000 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2002-02-28 17:05:45 +0000 |
commit | c1c125ec6461c3bedc7ee3263087305d14d36a19 (patch) | |
tree | 2df7f032dd00ee7a9a2f3ac298e7770ce63b841a /net/qtella | |
parent | a89ab1a455e14e111664bed30abbd34814471d1c (diff) | |
download | FreeBSD-ports-c1c125ec6461c3bedc7ee3263087305d14d36a19.zip FreeBSD-ports-c1c125ec6461c3bedc7ee3263087305d14d36a19.tar.gz |
Upgrade to 0.4.0. The PR contained an upgrade to the then latest 0.3.6
(by Bjarne), and an uuencoded update to 0.4.0 by Jonathan -- the port
maintainer. This commit is based on the later, with some modifications
(perl vs. patches, mostly).
PR: ports/34817
Submitted by: Bjarne Wichmann Petersen, Jonathan Belson
Diffstat (limited to 'net/qtella')
-rw-r--r-- | net/qtella/Makefile | 11 | ||||
-rw-r--r-- | net/qtella/distinfo | 2 | ||||
-rw-r--r-- | net/qtella/files/patch-configure | 34 | ||||
-rw-r--r-- | net/qtella/files/patch-configure.in | 34 | ||||
-rw-r--r-- | net/qtella/files/patch-include::Servent.h | 10 | ||||
-rw-r--r-- | net/qtella/files/patch-src::Makefile.in | 20 | ||||
-rw-r--r-- | net/qtella/pkg-descr | 2 | ||||
-rw-r--r-- | net/qtella/pkg-plist | 11 |
8 files changed, 18 insertions, 106 deletions
diff --git a/net/qtella/Makefile b/net/qtella/Makefile index 059f301..957408d 100644 --- a/net/qtella/Makefile +++ b/net/qtella/Makefile @@ -6,7 +6,7 @@ # PORTNAME= qtella -PORTVERSION= 0.2.1 +PORTVERSION= 0.4.0 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= qtella @@ -17,13 +17,12 @@ USE_KDELIBS_VER= 2 HAS_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS+= --with-qt-dir=${X11BASE} --with-qt-moc=${X11BASE}/bin +CONFIGURE_ENV+= LDFLAGS=-pthread CXXFLAGS="${CXXFLAGS} -pthread" MAKE_ENV+= MOC=${X11BASE}/bin/moc2 +MAKE_ARGS+= -j2 pre-patch: - @${PERL} -pi -e 's|stdint.h|inttypes.h|g' ${WRKSRC}/include/* ${WRKSRC}/src/Servent.cc \ - ${WRKSRC}/src/SearchViewItem.cc ${WRKSRC}/src/SharedViewItem.cc - -post-install: - strip ${PREFIX}/bin/qtella + @${PERL} -pi.orig -e 's|/moc(\W)|/moc2\1|g' \ + ${WRKSRC}/configure ${WRKSRC}/src/Makefile.in .include <bsd.port.mk> diff --git a/net/qtella/distinfo b/net/qtella/distinfo index 54d4c7d..ee96027 100644 --- a/net/qtella/distinfo +++ b/net/qtella/distinfo @@ -1 +1 @@ -MD5 (qtella-0.2.1.tar.gz) = 38f82a540d1b64eb12c4978c2a61b058 +MD5 (qtella-0.4.0.tar.gz) = 6ec61dd266b28dede80143a83112a670 diff --git a/net/qtella/files/patch-configure b/net/qtella/files/patch-configure deleted file mode 100644 index 5c52977..0000000 --- a/net/qtella/files/patch-configure +++ /dev/null @@ -1,34 +0,0 @@ ---- configure.orig Mon Sep 3 19:43:07 2001 -+++ configure Mon Sep 3 19:43:44 2001 -@@ -1099,13 +1099,13 @@ - - for dir in $with_qt_moc $with_qt_dir $QTDIR /usr/local/qt /usr/lib/qt /usr/bin /bin /usr/local - do -- if test -f $dir/moc -+ if test -f $dir/moc2 - then - QTMOCDIR=$dir - echo "found in $QTMOCDIR" - break - else -- if test -f $dir/bin/moc -+ if test -f $dir/bin/moc2 - then - QTMOCDIR=$dir/bin - echo "found in $QTMOCDIR" -@@ -1159,13 +1159,13 @@ - - for dir in $with_qt_libs $with_qt_dir $QTDIR /usr/local/qt /usr/lib/qt /usr/lib /usr/local/lib - do -- if test -f $dir/libqt.so -+ if test -f $dir/libqt2.so - then - QTLIBDIR=$dir - echo "found in $QTLIBDIR" - break - else -- if test -f $dir/lib/libqt.so -+ if test -f $dir/lib/libqt2.so - then - QTLIBDIR=$dir/lib - echo "found in $QTLIBDIR" diff --git a/net/qtella/files/patch-configure.in b/net/qtella/files/patch-configure.in deleted file mode 100644 index af1a411..0000000 --- a/net/qtella/files/patch-configure.in +++ /dev/null @@ -1,34 +0,0 @@ ---- configure.in.orig Sun Aug 26 16:59:47 2001 -+++ configure.in Sun Sep 2 19:56:27 2001 -@@ -12,13 +12,13 @@ - - for dir in $1 - do -- if test -f $dir/moc -+ if test -f $dir/moc2 - then - QTMOCDIR=$dir - echo "found in $QTMOCDIR" - break - else -- if test -f $dir/bin/moc -+ if test -f $dir/bin/moc2 - then - QTMOCDIR=$dir/bin - echo "found in $QTMOCDIR" -@@ -54,13 +54,13 @@ - - for dir in $1 - do -- if test -f $dir/libqt.so -+ if test -f $dir/libqt2.so - then - QTLIBDIR=$dir - echo "found in $QTLIBDIR" - break - else -- if test -f $dir/lib/libqt.so -+ if test -f $dir/lib/libqt2.so - then - QTLIBDIR=$dir/lib - echo "found in $QTLIBDIR" diff --git a/net/qtella/files/patch-include::Servent.h b/net/qtella/files/patch-include::Servent.h deleted file mode 100644 index 03c407e..0000000 --- a/net/qtella/files/patch-include::Servent.h +++ /dev/null @@ -1,10 +0,0 @@ ---- include/Servent.h.orig Sun Sep 2 20:38:03 2001 -+++ include/Servent.h Sun Sep 2 20:38:14 2001 -@@ -7,6 +7,7 @@ - #include <string> - #include <list> - #include <set> -+#include <time.h> - - #include "Gnutella.h" - #include "Address.h" diff --git a/net/qtella/files/patch-src::Makefile.in b/net/qtella/files/patch-src::Makefile.in deleted file mode 100644 index d72c152..0000000 --- a/net/qtella/files/patch-src::Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- src/Makefile.in.orig Sun Aug 26 16:59:48 2001 -+++ src/Makefile.in Sun Sep 2 20:44:24 2001 -@@ -78,7 +78,7 @@ - - - CXXFLAGS = -O1 $(DESKTOPFLAG) $(QTELLACXXFLAGS) --qtella_LDADD = -lqt-mt $(KDELIBS) $(QTELLALDFLAGS) -+qtella_LDADD = -pthread -lqt2-mt $(KDELIBS) $(QTELLALDFLAGS) - qtella_LDFLAGS = $(QTLIBDIR) $(LDFLAGS) $(KDELIBDIR) - INCLUDES = -DQT_THREAD_SUPPORT -I../include $(QTINCDIR) $(all_includes) $(KDEINCDIR) - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -@@ -381,7 +381,7 @@ - $(QTUICDIR)/uic -o Qtella.cc -i ../include/Qtella.h ../ui/Qtella.ui - - %_moc.cc: ../include/%.h -- $(QTMOCDIR)/moc -o $@ $< -+ $(MOC) -o $@ $< - - clean: - rm -f *moc* diff --git a/net/qtella/pkg-descr b/net/qtella/pkg-descr index bf73bdd..5ac1b1b 100644 --- a/net/qtella/pkg-descr +++ b/net/qtella/pkg-descr @@ -1,6 +1,6 @@ A Gnutella client using Qt. -WWW: http://www.gnutella.net/ +WWW: http://qtella.sourceforge.net - Jon Belson jon@witchspace.com diff --git a/net/qtella/pkg-plist b/net/qtella/pkg-plist index 44429a7..799a166 100644 --- a/net/qtella/pkg-plist +++ b/net/qtella/pkg-plist @@ -1 +1,12 @@ bin/qtella +share/qtella/pixmaps/remove.xpm +share/qtella/pixmaps/ball_g.xpm +share/qtella/pixmaps/ball_r.xpm +share/qtella/pixmaps/ball_y.xpm +share/qtella/pixmaps/smile.xpm +share/qtella/pixmaps/ball_d.xpm +share/qtella/pixmaps/gsmile.xpm +share/qtella/pixmaps/research.xpm +share/qtella/pixmaps/removeresearch.xpm +@dirrm share/qtella/pixmaps +@dirrm share/qtella |