mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
Add qtella 0.2.1, a Gnutella client using Qt.
PR: 30466 Submitted by: Jonathan Belson (jon@witchspace.com)
This commit is contained in:
parent
e0a0944017
commit
0174c9bcaa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47888
19 changed files with 273 additions and 0 deletions
29
net-p2p/qtella/Makefile
Normal file
29
net-p2p/qtella/Makefile
Normal file
|
@ -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>
|
1
net-p2p/qtella/distinfo
Normal file
1
net-p2p/qtella/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (qtella-0.2.1.tar.gz) = 38f82a540d1b64eb12c4978c2a61b058
|
34
net-p2p/qtella/files/patch-configure
Normal file
34
net-p2p/qtella/files/patch-configure
Normal file
|
@ -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"
|
34
net-p2p/qtella/files/patch-configure.in
Normal file
34
net-p2p/qtella/files/patch-configure.in
Normal file
|
@ -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"
|
10
net-p2p/qtella/files/patch-include::Servent.h
Normal file
10
net-p2p/qtella/files/patch-include::Servent.h
Normal file
|
@ -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"
|
20
net-p2p/qtella/files/patch-src::Makefile.in
Normal file
20
net-p2p/qtella/files/patch-src::Makefile.in
Normal file
|
@ -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*
|
1
net-p2p/qtella/pkg-comment
Normal file
1
net-p2p/qtella/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A Gnutella client using Qt
|
6
net-p2p/qtella/pkg-descr
Normal file
6
net-p2p/qtella/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
A Gnutella client using Qt.
|
||||
|
||||
WWW: http://www.gnutella.net
|
||||
|
||||
- Jon Belson
|
||||
jon@witchspace.com
|
1
net-p2p/qtella/pkg-plist
Normal file
1
net-p2p/qtella/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
|||
bin/qtella
|
|
@ -322,6 +322,7 @@
|
|||
SUBDIR += py-soap
|
||||
SUBDIR += py-xmlrpc
|
||||
SUBDIR += py-xmlrpclib
|
||||
SUBDIR += qtella
|
||||
SUBDIR += queso
|
||||
SUBDIR += radius
|
||||
SUBDIR += radiusclient
|
||||
|
|
29
net/qtella/Makefile
Normal file
29
net/qtella/Makefile
Normal file
|
@ -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>
|
1
net/qtella/distinfo
Normal file
1
net/qtella/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (qtella-0.2.1.tar.gz) = 38f82a540d1b64eb12c4978c2a61b058
|
34
net/qtella/files/patch-configure
Normal file
34
net/qtella/files/patch-configure
Normal file
|
@ -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"
|
34
net/qtella/files/patch-configure.in
Normal file
34
net/qtella/files/patch-configure.in
Normal file
|
@ -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"
|
10
net/qtella/files/patch-include::Servent.h
Normal file
10
net/qtella/files/patch-include::Servent.h
Normal file
|
@ -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"
|
20
net/qtella/files/patch-src::Makefile.in
Normal file
20
net/qtella/files/patch-src::Makefile.in
Normal file
|
@ -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*
|
1
net/qtella/pkg-comment
Normal file
1
net/qtella/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A Gnutella client using Qt
|
6
net/qtella/pkg-descr
Normal file
6
net/qtella/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
A Gnutella client using Qt.
|
||||
|
||||
WWW: http://www.gnutella.net
|
||||
|
||||
- Jon Belson
|
||||
jon@witchspace.com
|
1
net/qtella/pkg-plist
Normal file
1
net/qtella/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
|||
bin/qtella
|
Loading…
Add table
Reference in a new issue