aboutsummaryrefslogtreecommitdiff
path: root/chinese/qterm
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-16 14:56:07 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-16 14:56:07 +0000
commit9b19fd780156438483cec22ce7bb5a36b738fa67 (patch)
tree09c038a75a747398a1e6f308313defedf9ba1e12 /chinese/qterm
parenta3fba2a33ee2645103ef73c79820c7c531436d42 (diff)
downloadports-9b19fd780156438483cec22ce7bb5a36b738fa67.tar.gz
ports-9b19fd780156438483cec22ce7bb5a36b738fa67.zip
Notes
Diffstat (limited to 'chinese/qterm')
-rw-r--r--chinese/qterm/Makefile21
-rw-r--r--chinese/qterm/distinfo4
-rw-r--r--chinese/qterm/files/patch-qterm::qtermtelnet.h18
-rw-r--r--chinese/qterm/pkg-descr8
-rw-r--r--chinese/qterm/pkg-plist26
5 files changed, 51 insertions, 26 deletions
diff --git a/chinese/qterm/Makefile b/chinese/qterm/Makefile
index 2570d25a57a2..fee3c99026ab 100644
--- a/chinese/qterm/Makefile
+++ b/chinese/qterm/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= qterm
-PORTVERSION= 0.3.2
-PORTREVISION= 1
+PORTVERSION= 0.3.5
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= gavin@tju.edu.cn
COMMENT= QTerm is a BBS client in Unix
USE_QT_VER= 3
@@ -20,10 +19,22 @@ USE_GMAKE= yes
HAS_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --enable-mt --with-pythondir=${LOCALBASE} --prefix=${PREFIX}
-USE_PYTHON= -2.2
+INSTALLS_SHLIB= yes
+
+.if !defined(WITHOUT_PYTHON)
+USE_PYTHON= -2.3
+.endif
+
+.include <bsd.port.pre.mk>
+
+pre-everything::
+ @${ECHO_MSG} "Define WITHOUT_PYTHON to\
+ disable PYTHON scripts support."
post-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/qterm/qtermtelnet.cpp
+ @${REINPLACE_CMD} -e 's,-lssl,-lssl -lcrypto,' \
+ ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/chinese/qterm/distinfo b/chinese/qterm/distinfo
index d2d514fd1e40..d7e5f5b996f7 100644
--- a/chinese/qterm/distinfo
+++ b/chinese/qterm/distinfo
@@ -1,2 +1,2 @@
-MD5 (qterm-0.3.2.tar.gz) = d7e9da29e0cc0a4cc5d996170422beb0
-SIZE (qterm-0.3.2.tar.gz) = 716334
+MD5 (qterm-0.3.5.tar.gz) = 0da21357cf155d665350b760ebed1cc9
+SIZE (qterm-0.3.5.tar.gz) = 786186
diff --git a/chinese/qterm/files/patch-qterm::qtermtelnet.h b/chinese/qterm/files/patch-qterm::qtermtelnet.h
index 7f586bf25cfa..977db7880f27 100644
--- a/chinese/qterm/files/patch-qterm::qtermtelnet.h
+++ b/chinese/qterm/files/patch-qterm::qtermtelnet.h
@@ -1,14 +1,12 @@
---- qterm/qtermtelnet.h.orig Sat Apr 12 21:10:39 2003
-+++ qterm/qtermtelnet.h Sat Apr 12 21:11:19 2003
-@@ -8,9 +8,9 @@
- #include <winsock2.h>
- #else
+--- qterm/qtermtelnet.h.orig Tue Mar 16 12:17:41 2004
++++ qterm/qtermtelnet.h Tue Mar 16 12:18:02 2004
+@@ -9,8 +9,8 @@
+ #elif defined(Q_OS_BSD4) || defined(_OS_FREEBSD_) \
+ || defined(Q_OS_MACX) || defined(Q_OS_DARWIN)
#include <netdb.h>
- #include <sys/socket.h>
#include <sys/types.h>
-- #include <arpa/inet.h>
+ #include <sys/socket.h>
-+ #include <netinet/in.h>
- #endif
-
- #include <qobject.h>
+ #include <netinet/in.h>
+ #else
+ #include <netdb.h>
diff --git a/chinese/qterm/pkg-descr b/chinese/qterm/pkg-descr
index b4a3bf5f9883..c41ef8adfcc3 100644
--- a/chinese/qterm/pkg-descr
+++ b/chinese/qterm/pkg-descr
@@ -1,5 +1,5 @@
-QTerm is a BBS client in Unix. Our original goal is to make it
-a practical tool like CTerm and STerm in Windows.
+QTerm is a BBS client for X Window System. The goal is to make a client
+similar to Sterm and CTerm in MS Windows.
Features:
1.support mouse in Firebird BBS
@@ -7,4 +7,6 @@ Features:
3.article download
4.address book
-WWW: http://qterm.gnuchina.org/index.html
+WWW: http://qterm.sourceforge.net
+
+- Gavin Mu <gavin@tju.edu.cn>
diff --git a/chinese/qterm/pkg-plist b/chinese/qterm/pkg-plist
index b9c6323d3bde..4b3a38eb530d 100644
--- a/chinese/qterm/pkg-plist
+++ b/chinese/qterm/pkg-plist
@@ -1,6 +1,9 @@
bin/qterm
-share/qterm/address.cfg
-share/qterm/credits
+@exec /sbin/ldconfig -m
+@unexec /sbin/ldconfig -R
+lib/libssh.so.0
+lib/libssh.so
+lib/libssh.la
share/qterm/cursor/end.xpm
share/qterm/cursor/enter.xpm
share/qterm/cursor/exit.xpm
@@ -14,18 +17,19 @@ share/qterm/pic/addr.png
share/qterm/pic/anti-idle.png
share/qterm/pic/article.png
share/qterm/pic/auto-reply.png
-share/qterm/pic/color.png
share/qterm/pic/color-copy.png
+share/qterm/pic/color.png
share/qterm/pic/connect.png
share/qterm/pic/copy.png
share/qterm/pic/disconnect.png
-share/qterm/pic/font.png
+share/qterm/pic/fonts.png
share/qterm/pic/keys.png
share/qterm/pic/message.png
share/qterm/pic/mouse.png
share/qterm/pic/paste.png
share/qterm/pic/popwidget.png
share/qterm/pic/pref.png
+share/qterm/pic/qterm_tray.png
share/qterm/pic/qterm_32x32.png
share/qterm/pic/qterm_48x48.png
share/qterm/pic/quick.png
@@ -34,11 +38,21 @@ share/qterm/pic/rect.png
share/qterm/pic/refresh.png
share/qterm/pic/sound.png
share/qterm/pic/tabpad.png
-share/qterm/qterm.cfg
share/qterm/script/continuous.py
share/qterm/script/download.py
share/qterm/script/system.py
-@dirrm share/qterm/script
+share/qterm/schema/Softness.schema
+share/qterm/schema/Linux.schema
+share/qterm/schema/VIM.schema
+share/qterm/schema/XTerm.schema
+share/qterm/schema/default.schema
+share/qterm/qterm.cfg
+share/qterm/address.cfg
+share/qterm/credits
+share/applications/qterm.desktop
+share/icons/qterm.png
@dirrm share/qterm/cursor
@dirrm share/qterm/pic
+@dirrm share/qterm/script
+@dirrm share/qterm/schema
@dirrm share/qterm