diff options
author | Will Andrews <will@FreeBSD.org> | 2001-09-16 20:44:09 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-09-16 20:44:09 +0000 |
commit | 0174c9bcaa30d7b7eb1a30bed7e3cbf1c8fa6569 (patch) | |
tree | bf4345ee1c1ae0e761051b5f2bd77644e9057ab4 /net | |
parent | e0a0944017642887435823198c4276802ec8118e (diff) | |
download | ports-0174c9bcaa30d7b7eb1a30bed7e3cbf1c8fa6569.tar.gz ports-0174c9bcaa30d7b7eb1a30bed7e3cbf1c8fa6569.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/qtella/Makefile | 29 | ||||
-rw-r--r-- | net/qtella/distinfo | 1 | ||||
-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-comment | 1 | ||||
-rw-r--r-- | net/qtella/pkg-descr | 6 | ||||
-rw-r--r-- | net/qtella/pkg-plist | 1 |
10 files changed, 137 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index d4a71955a1bf..c1fede28c9d0 100644 --- a/net/Makefile +++ b/net/Makefile @@ -322,6 +322,7 @@ SUBDIR += py-soap SUBDIR += py-xmlrpc SUBDIR += py-xmlrpclib + SUBDIR += qtella SUBDIR += queso SUBDIR += radius SUBDIR += radiusclient 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 |