aboutsummaryrefslogtreecommitdiffstats
path: root/net/qtella
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-09-17 04:44:09 +0800
committerwill <will@FreeBSD.org>2001-09-17 04:44:09 +0800
commit9bd33331a22f97839e4ed2fed7aecfda728e16a4 (patch)
tree435b254df6d113eec5363192a10db5e9debea577 /net/qtella
parent7cdc89c066ede400ad0da3375499ccc36d63aa2f (diff)
downloadfreebsd-ports-gnome-9bd33331a22f97839e4ed2fed7aecfda728e16a4.tar.gz
freebsd-ports-gnome-9bd33331a22f97839e4ed2fed7aecfda728e16a4.tar.zst
freebsd-ports-gnome-9bd33331a22f97839e4ed2fed7aecfda728e16a4.zip
Add qtella 0.2.1, a Gnutella client using Qt.
PR: 30466 Submitted by: Jonathan Belson (jon@witchspace.com)
Diffstat (limited to 'net/qtella')
-rw-r--r--net/qtella/Makefile29
-rw-r--r--net/qtella/distinfo1
-rw-r--r--net/qtella/files/patch-configure34
-rw-r--r--net/qtella/files/patch-configure.in34
-rw-r--r--net/qtella/files/patch-include::Servent.h10
-rw-r--r--net/qtella/files/patch-src::Makefile.in20
-rw-r--r--net/qtella/pkg-comment1
-rw-r--r--net/qtella/pkg-descr6
-rw-r--r--net/qtella/pkg-plist1
9 files changed, 136 insertions, 0 deletions
diff --git a/net/qtella/Makefile b/net/qtella/Makefile
new file mode 100644
index 000000000000..059f301f9586
--- /dev/null
+++ b/net/qtella/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: qtella
+# Date created: Sunday September 2nd, 2001
+# Whom: Jonathan Belson (jon@witchspace.com)
+#
+# $FreeBSD$
+#
+
+PORTNAME= qtella
+PORTVERSION= 0.2.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= qtella
+
+MAINTAINER= jon@witchspace.com
+
+USE_KDELIBS_VER= 2
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS+= --with-qt-dir=${X11BASE} --with-qt-moc=${X11BASE}/bin
+MAKE_ENV+= MOC=${X11BASE}/bin/moc2
+
+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
+
+.include <bsd.port.mk>
diff --git a/net/qtella/distinfo b/net/qtella/distinfo
new file mode 100644
index 000000000000..54d4c7df1a31
--- /dev/null
+++ b/net/qtella/distinfo
@@ -0,0 +1 @@
+MD5 (qtella-0.2.1.tar.gz) = 38f82a540d1b64eb12c4978c2a61b058
diff --git a/net/qtella/files/patch-configure b/net/qtella/files/patch-configure
new file mode 100644
index 000000000000..5c52977c5aad
--- /dev/null
+++ b/net/qtella/files/patch-configure
@@ -0,0 +1,34 @@
+--- 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
new file mode 100644
index 000000000000..af1a4112941a
--- /dev/null
+++ b/net/qtella/files/patch-configure.in
@@ -0,0 +1,34 @@
+--- 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
new file mode 100644
index 000000000000..03c407efd2d2
--- /dev/null
+++ b/net/qtella/files/patch-include::Servent.h
@@ -0,0 +1,10 @@
+--- 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
new file mode 100644
index 000000000000..d72c152fd9be
--- /dev/null
+++ b/net/qtella/files/patch-src::Makefile.in
@@ -0,0 +1,20 @@
+--- 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-comment b/net/qtella/pkg-comment
new file mode 100644
index 000000000000..1cbdc23c4c93
--- /dev/null
+++ b/net/qtella/pkg-comment
@@ -0,0 +1 @@
+A Gnutella client using Qt
diff --git a/net/qtella/pkg-descr b/net/qtella/pkg-descr
new file mode 100644
index 000000000000..7f93d35a3c47
--- /dev/null
+++ b/net/qtella/pkg-descr
@@ -0,0 +1,6 @@
+A Gnutella client using Qt.
+
+WWW: http://www.gnutella.net
+
+- Jon Belson
+jon@witchspace.com
diff --git a/net/qtella/pkg-plist b/net/qtella/pkg-plist
new file mode 100644
index 000000000000..44429a75f0c5
--- /dev/null
+++ b/net/qtella/pkg-plist
@@ -0,0 +1 @@
+bin/qtella