aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-04-12 20:37:49 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-04-12 20:37:49 +0000
commit3cee7016e21cc6684302f1611e84f9aa57e9a31c (patch)
treea0ac7b2c62c7ed13f4dd4f62cc02f21734cd688a /chinese
parent3b3b37e9fa5f141884a13897825719083c408f74 (diff)
downloadports-3cee7016e21cc6684302f1611e84f9aa57e9a31c.tar.gz
ports-3cee7016e21cc6684302f1611e84f9aa57e9a31c.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/qterm/Makefile7
-rw-r--r--chinese/qterm/distinfo2
-rw-r--r--chinese/qterm/files/patch-configure4
-rw-r--r--chinese/qterm/files/patch-qterm::qtermtelnet.h14
-rw-r--r--chinese/qterm/pkg-plist59
5 files changed, 57 insertions, 29 deletions
diff --git a/chinese/qterm/Makefile b/chinese/qterm/Makefile
index 915778b23a05..7fed7ce396a1 100644
--- a/chinese/qterm/Makefile
+++ b/chinese/qterm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qterm
-PORTVERSION= 0.1.7
+PORTVERSION= 0.2.0
CATEGORIES= chinese
MASTER_SITES= http://qterm.gnuchina.org/qterm-${PORTVERSION}/ \
ftp://freebsd.sinica.edu.tw/pub/statue/qterm/
@@ -17,5 +17,10 @@ COMMENT= QTerm is a BBS client in Unix
USE_QT_VER= 3
USE_GMAKE= yes
HAS_CONFIGURE= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/qterm/qtermtelnet.cpp
.include <bsd.port.mk>
diff --git a/chinese/qterm/distinfo b/chinese/qterm/distinfo
index 86f15d2a2d9a..c1e0579ea777 100644
--- a/chinese/qterm/distinfo
+++ b/chinese/qterm/distinfo
@@ -1 +1 @@
-MD5 (qterm-0.1.7.tar.gz) = 52ad9f55cf78dca958b01b3cc01e49e4
+MD5 (qterm-0.2.0.tar.gz) = 78e533ab2cfb330eb93a387aecdd07db
diff --git a/chinese/qterm/files/patch-configure b/chinese/qterm/files/patch-configure
index c09312a628a7..4dfbc72ebc6a 100644
--- a/chinese/qterm/files/patch-configure
+++ b/chinese/qterm/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig Fri Jan 10 20:18:26 2003
-+++ configure Thu Jan 16 08:52:01 2003
+--- configure.orig Sat Apr 12 20:56:11 2003
++++ configure Sat Apr 12 20:56:27 2003
@@ -8752,7 +8752,7 @@
diff --git a/chinese/qterm/files/patch-qterm::qtermtelnet.h b/chinese/qterm/files/patch-qterm::qtermtelnet.h
new file mode 100644
index 000000000000..7f586bf25cfa
--- /dev/null
+++ b/chinese/qterm/files/patch-qterm::qtermtelnet.h
@@ -0,0 +1,14 @@
+--- 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
+ #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>
diff --git a/chinese/qterm/pkg-plist b/chinese/qterm/pkg-plist
index 8a02a62623c4..714183097231 100644
--- a/chinese/qterm/pkg-plist
+++ b/chinese/qterm/pkg-plist
@@ -1,34 +1,43 @@
bin/qterm
+share/qterm/address.cfg
+share/qterm/credits.txt
share/qterm/cursor/end.xpm
+share/qterm/cursor/enter.xpm
share/qterm/cursor/exit.xpm
+share/qterm/cursor/hand.xpm
share/qterm/cursor/home.xpm
share/qterm/cursor/next.xpm
share/qterm/cursor/pagedown.xpm
share/qterm/cursor/pageup.xpm
share/qterm/cursor/prev.xpm
-share/qterm/pic/addr.bmp
-share/qterm/pic/anti.bmp
-share/qterm/pic/beep.bmp
-share/qterm/pic/blink.bmp
-share/qterm/pic/color.bmp
-share/qterm/pic/colorcopy.bmp
-share/qterm/pic/copy.bmp
-share/qterm/pic/disconnect.bmp
-share/qterm/pic/document.xpm
-share/qterm/pic/down.bmp
-share/qterm/pic/font.bmp
-share/qterm/pic/message.bmp
-share/qterm/pic/mouse.bmp
-share/qterm/pic/paste.bmp
-share/qterm/pic/quick.bmp
-share/qterm/pic/quicklogin.bmp
-share/qterm/pic/reconnect.bmp
-share/qterm/pic/refresh.bmp
-share/qterm/pic/reply.bmp
-share/qterm/pic/retangle.bmp
-share/qterm/pic/set.bmp
-share/qterm/pic/tabpic.bmp
+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/connect.png
+share/qterm/pic/copy.png
+share/qterm/pic/disconnect.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_32x32.png
+share/qterm/pic/qterm_48x48.png
+share/qterm/pic/quick.png
+share/qterm/pic/reconnect.png
+share/qterm/pic/rect.png
+share/qterm/pic/refresh.png
+share/qterm/pic/sound.png
+share/qterm/pic/tabpad.png
+share/qterm/po/qterm_chs.qm
+share/qterm/po/qterm_cht.qm
share/qterm/qterm.cfg
-@dirrm share/qterm/cursor/
-@dirrm share/qterm/pic/
-@dirrm share/qterm/
+@dirrm share/qterm/po
+@dirrm share/qterm/cursor
+@dirrm share/qterm/pic
+@dirrm share/qterm