summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-07-28 12:11:57 +0000
committerlioux <lioux@FreeBSD.org>2002-07-28 12:11:57 +0000
commit332e4d9f8ffcd40d703dc1acbecb250af4fb9cbe (patch)
tree4aa2f069ba6c98ad186a43966816b119bd413f9c
parent175f91d4f6ede8427d4e3999eef8be45c3548181 (diff)
downloadFreeBSD-ports-332e4d9f8ffcd40d703dc1acbecb250af4fb9cbe.zip
FreeBSD-ports-332e4d9f8ffcd40d703dc1acbecb250af4fb9cbe.tar.gz
o New port dctc-gui-qt version 0.0.3: A Qt GUI for the
Direct Connect (TM) dctc text client o Added a default implementation of a class method to enable build. Prototype only methods cannot be invoked [1] Reviewed by: Alex Zepeda <zipzippy@sonic.net> [1]
-rw-r--r--net-p2p/dctc-gui-qt/Makefile46
-rw-r--r--net-p2p/dctc-gui-qt/distinfo1
-rw-r--r--net-p2p/dctc-gui-qt/files/patch-dc_qt.cc11
-rw-r--r--net-p2p/dctc-gui-qt/pkg-comment1
-rw-r--r--net-p2p/dctc-gui-qt/pkg-descr3
-rw-r--r--net-p2p/dctc-gui-qt/pkg-plist1
-rw-r--r--net/Makefile1
-rw-r--r--net/dctc-gui-qt/Makefile46
-rw-r--r--net/dctc-gui-qt/distinfo1
-rw-r--r--net/dctc-gui-qt/files/patch-dc_qt.cc11
-rw-r--r--net/dctc-gui-qt/pkg-comment1
-rw-r--r--net/dctc-gui-qt/pkg-descr3
-rw-r--r--net/dctc-gui-qt/pkg-plist1
13 files changed, 127 insertions, 0 deletions
diff --git a/net-p2p/dctc-gui-qt/Makefile b/net-p2p/dctc-gui-qt/Makefile
new file mode 100644
index 0000000..d569fd6
--- /dev/null
+++ b/net-p2p/dctc-gui-qt/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: dctc qt gui
+# Date created: Sun Jul 28 7:00:43 UTC 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dctc
+PORTVERSION= 0.0.3
+CATEGORIES= net kde
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= dc-qt
+PKGNAMESUFFIX= -gui-qt
+DISTNAME= dc-qt-${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+
+RUN_DEPENDS= dctc:${PORTSDIR}/net/dctc
+
+USE_QT_VER= 3
+USE_REINPLACE= yes
+MAKE_ENV= QTDIR="${QTDIR}"
+
+QTDIR?= ${X11BASE}
+QMAKE?= ${X11BASE}/bin/qmake
+
+post-patch:
+ @${REINPLACE_CMD} -E -e 's|"hublist|"dc_hublist|' \
+ ${WRKSRC}/dc_hub.cc
+
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} dc_qt.pro
+
+post-configure:
+# uphold CC/CXX/CFLAGS
+# link against correct qt lib
+ @${REINPLACE_CMD} -E -e 's|^CC.+$$|CC=${CC}|; \
+ s|^CXX.+$$|CXX=${CXX}|; \
+ s|^(CFLAGS.+)$$|\1 ${PTHREAD_CFLAGS}|; \
+ s|-lqt |-lqt-mt ${PTHREAD_LIBS:S/"//g} |' \
+ ${WRKSRC}/Makefile
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/dc_qt ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/net-p2p/dctc-gui-qt/distinfo b/net-p2p/dctc-gui-qt/distinfo
new file mode 100644
index 0000000..3e7aeb9
--- /dev/null
+++ b/net-p2p/dctc-gui-qt/distinfo
@@ -0,0 +1 @@
+MD5 (dc-qt-0.0.3.tar.gz) = 76842bd41b0ed7729617412fb2cb2ac2
diff --git a/net-p2p/dctc-gui-qt/files/patch-dc_qt.cc b/net-p2p/dctc-gui-qt/files/patch-dc_qt.cc
new file mode 100644
index 0000000..e041ff3
--- /dev/null
+++ b/net-p2p/dctc-gui-qt/files/patch-dc_qt.cc
@@ -0,0 +1,11 @@
+--- dc_qt.cc.orig Sun Jul 28 02:42:28 2002
++++ dc_qt.cc Sun Jul 28 02:45:12 2002
+@@ -296,6 +296,8 @@
+ if (ok)
+ cur_hub->send_command(text);
+ }
++#else
++void dc_main_window::send_command() {}
+ #endif
+
+ void dc_main_window::clear_user_list()
diff --git a/net-p2p/dctc-gui-qt/pkg-comment b/net-p2p/dctc-gui-qt/pkg-comment
new file mode 100644
index 0000000..8b94032
--- /dev/null
+++ b/net-p2p/dctc-gui-qt/pkg-comment
@@ -0,0 +1 @@
+A Qt GUI for the Direct Connect (TM) dctc text client
diff --git a/net-p2p/dctc-gui-qt/pkg-descr b/net-p2p/dctc-gui-qt/pkg-descr
new file mode 100644
index 0000000..b2bbd69
--- /dev/null
+++ b/net-p2p/dctc-gui-qt/pkg-descr
@@ -0,0 +1,3 @@
+A Qt GUI for the Direct Connect (TM) dctc text client.
+
+WWW: http://sourceforge.net/projects/dc-qt/
diff --git a/net-p2p/dctc-gui-qt/pkg-plist b/net-p2p/dctc-gui-qt/pkg-plist
new file mode 100644
index 0000000..d2bf6d8
--- /dev/null
+++ b/net-p2p/dctc-gui-qt/pkg-plist
@@ -0,0 +1 @@
+bin/dc_qt
diff --git a/net/Makefile b/net/Makefile
index 3f12d22..c8c7c42 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -78,6 +78,7 @@
SUBDIR += dclib
SUBDIR += dctc
SUBDIR += dctc-gui
+ SUBDIR += dctc-gui-qt
SUBDIR += ddc
SUBDIR += ddclient
SUBDIR += ddup
diff --git a/net/dctc-gui-qt/Makefile b/net/dctc-gui-qt/Makefile
new file mode 100644
index 0000000..d569fd6
--- /dev/null
+++ b/net/dctc-gui-qt/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: dctc qt gui
+# Date created: Sun Jul 28 7:00:43 UTC 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dctc
+PORTVERSION= 0.0.3
+CATEGORIES= net kde
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= dc-qt
+PKGNAMESUFFIX= -gui-qt
+DISTNAME= dc-qt-${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+
+RUN_DEPENDS= dctc:${PORTSDIR}/net/dctc
+
+USE_QT_VER= 3
+USE_REINPLACE= yes
+MAKE_ENV= QTDIR="${QTDIR}"
+
+QTDIR?= ${X11BASE}
+QMAKE?= ${X11BASE}/bin/qmake
+
+post-patch:
+ @${REINPLACE_CMD} -E -e 's|"hublist|"dc_hublist|' \
+ ${WRKSRC}/dc_hub.cc
+
+do-configure:
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} dc_qt.pro
+
+post-configure:
+# uphold CC/CXX/CFLAGS
+# link against correct qt lib
+ @${REINPLACE_CMD} -E -e 's|^CC.+$$|CC=${CC}|; \
+ s|^CXX.+$$|CXX=${CXX}|; \
+ s|^(CFLAGS.+)$$|\1 ${PTHREAD_CFLAGS}|; \
+ s|-lqt |-lqt-mt ${PTHREAD_LIBS:S/"//g} |' \
+ ${WRKSRC}/Makefile
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/dc_qt ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/net/dctc-gui-qt/distinfo b/net/dctc-gui-qt/distinfo
new file mode 100644
index 0000000..3e7aeb9
--- /dev/null
+++ b/net/dctc-gui-qt/distinfo
@@ -0,0 +1 @@
+MD5 (dc-qt-0.0.3.tar.gz) = 76842bd41b0ed7729617412fb2cb2ac2
diff --git a/net/dctc-gui-qt/files/patch-dc_qt.cc b/net/dctc-gui-qt/files/patch-dc_qt.cc
new file mode 100644
index 0000000..e041ff3
--- /dev/null
+++ b/net/dctc-gui-qt/files/patch-dc_qt.cc
@@ -0,0 +1,11 @@
+--- dc_qt.cc.orig Sun Jul 28 02:42:28 2002
++++ dc_qt.cc Sun Jul 28 02:45:12 2002
+@@ -296,6 +296,8 @@
+ if (ok)
+ cur_hub->send_command(text);
+ }
++#else
++void dc_main_window::send_command() {}
+ #endif
+
+ void dc_main_window::clear_user_list()
diff --git a/net/dctc-gui-qt/pkg-comment b/net/dctc-gui-qt/pkg-comment
new file mode 100644
index 0000000..8b94032
--- /dev/null
+++ b/net/dctc-gui-qt/pkg-comment
@@ -0,0 +1 @@
+A Qt GUI for the Direct Connect (TM) dctc text client
diff --git a/net/dctc-gui-qt/pkg-descr b/net/dctc-gui-qt/pkg-descr
new file mode 100644
index 0000000..b2bbd69
--- /dev/null
+++ b/net/dctc-gui-qt/pkg-descr
@@ -0,0 +1,3 @@
+A Qt GUI for the Direct Connect (TM) dctc text client.
+
+WWW: http://sourceforge.net/projects/dc-qt/
diff --git a/net/dctc-gui-qt/pkg-plist b/net/dctc-gui-qt/pkg-plist
new file mode 100644
index 0000000..d2bf6d8
--- /dev/null
+++ b/net/dctc-gui-qt/pkg-plist
@@ -0,0 +1 @@
+bin/dc_qt
OpenPOWER on IntegriCloud