mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
upgrade to 0.1.4
PR: 37093 Submitted by: maintainer
This commit is contained in:
parent
b54442b56b
commit
4d0c2ce823
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57711
@ -6,17 +6,15 @@
|
||||
#
|
||||
|
||||
PORTNAME= qterm
|
||||
PORTVERSION= 0.1.3
|
||||
PORTVERSION= 0.1.4
|
||||
CATEGORIES= chinese
|
||||
MASTER_SITES= http://qterm.gnuchina.org/qterm-0.1.3/ \
|
||||
MASTER_SITES= http://qterm.gnuchina.org/qterm-${PORTVERSION}/ \
|
||||
ftp://freebsd.sinica.edu.tw/pub/statue/qterm/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
|
||||
|
||||
MAINTAINER= statue@freebsd.sinica.edu.tw
|
||||
|
||||
USE_QT_VER= 2
|
||||
USE_GMAKE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/qterm-${PORTVERSION}/src
|
||||
HAS_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (qterm-0.1.3-1.tar.gz) = 7927d248104b65d0b07a4b5edd5ab5f8
|
||||
MD5 (qterm-0.1.4.tar.gz) = 92a415735b932c3248df0b27c4494792
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- Makefile.orig Wed Sep 5 14:45:55 2001
|
||||
+++ Makefile Thu Oct 25 12:11:14 2001
|
||||
@@ -11,12 +11,12 @@
|
||||
CXX = g++
|
||||
CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
|
||||
CXXFLAGS= -pipe -Wall -W -O2 -DNO_DEBUG
|
||||
-INCPATH = -I$(QTDIR)/include
|
||||
+INCPATH = -I/usr/X11R6/include/qt2
|
||||
LINK = g++
|
||||
LFLAGS =
|
||||
-LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
|
||||
-MOC = $(QTDIR)/bin/moc
|
||||
-UIC = $(QTDIR)/bin/uic
|
||||
+LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt2 -lXext -lX11 -lm
|
||||
+MOC = /usr/X11R6/bin/moc2
|
||||
+UIC = /usr/X11R6/bin/uic
|
||||
|
||||
TAR = tar -cf
|
||||
GZIP = gzip -9f
|
32
chinese/qterm/files/patch-configure
Normal file
32
chinese/qterm/files/patch-configure
Normal file
@ -0,0 +1,32 @@
|
||||
--- configure.ori Sat Mar 30 20:59:41 2002
|
||||
+++ configure Sat Mar 30 21:03:14 2002
|
||||
@@ -5564,7 +5564,7 @@
|
||||
if test "x$kde_use_qt_emb" = "xyes"; then
|
||||
qtlib="qte"
|
||||
else
|
||||
- qtlib="qt"
|
||||
+ qtlib="qt2"
|
||||
fi
|
||||
|
||||
LIBQT="-l$qtlib"
|
||||
@@ -6003,16 +6003,16 @@
|
||||
IFS=$kde_save_IFS
|
||||
|
||||
for dir in $dirs; do
|
||||
- if test -x "$dir/moc"; then
|
||||
+ if test -x "$dir/moc2"; then
|
||||
if test -n ""
|
||||
then
|
||||
- evalstr="$dir/moc 2>&1 "
|
||||
+ evalstr="$dir/moc2 2>&1 "
|
||||
if eval $evalstr; then
|
||||
- kde_cv_path="$dir/moc"
|
||||
+ kde_cv_path="$dir/moc2"
|
||||
break
|
||||
fi
|
||||
else
|
||||
- kde_cv_path="$dir/moc"
|
||||
+ kde_cv_path="$dir/moc2"
|
||||
break
|
||||
fi
|
||||
fi
|
@ -1,22 +0,0 @@
|
||||
--- qterm.cpp.orig Thu Oct 25 22:28:43 2001
|
||||
+++ qterm.cpp Tue Feb 19 09:37:37 2002
|
||||
@@ -340,8 +340,8 @@
|
||||
}
|
||||
else if(stat( strGlobal+"/qterm.cfg",&st)== 0)
|
||||
{
|
||||
- strCmd="/bin/cp"+strGlobal;
|
||||
- strCmd+="qterm.cfg ";
|
||||
+ strCmd="/bin/cp "+strGlobal;
|
||||
+ strCmd+="/qterm.cfg ";
|
||||
strCmd+=strMain;
|
||||
if( system(strCmd)<0 )
|
||||
{
|
||||
@@ -382,7 +382,7 @@
|
||||
else if(stat( strGlobal+"/pic",&st)== 0)
|
||||
{
|
||||
strCmd="/bin/cp -fr "+strGlobal;
|
||||
- strCmd+="/pic";
|
||||
+ strCmd+="/pic ";
|
||||
strCmd+=strMain;
|
||||
if( system(strCmd)<0 )
|
||||
{
|
11
chinese/qterm/files/patch-qterm::Makefile.in
Normal file
11
chinese/qterm/files/patch-qterm::Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- qterm/Makefile.in.ori Sat Mar 30 21:38:05 2002
|
||||
+++ qterm/Makefile.in Sat Mar 30 21:38:11 2002
|
||||
@@ -142,7 +142,7 @@
|
||||
LIB_KSPELL = @LIB_KSPELL@
|
||||
LIB_KSYCOCA = @LIB_KSYCOCA@
|
||||
LIB_KWRITE = @LIB_KWRITE@
|
||||
-LIB_QT = @LIB_QT@
|
||||
+LIB_QT = -lqt2 @LIB_QT@
|
||||
LIB_SMB = @LIB_SMB@
|
||||
LIB_X11 = @LIB_X11@
|
||||
LIB_XEXT = @LIB_XEXT@
|
13
chinese/qterm/files/patch-qterm::qtermtelnet.h
Normal file
13
chinese/qterm/files/patch-qterm::qtermtelnet.h
Normal file
@ -0,0 +1,13 @@
|
||||
--- qterm/qtermtelnet.h.ori Sat Mar 30 21:15:46 2002
|
||||
+++ qterm/qtermtelnet.h Sat Mar 30 21:18:47 2002
|
||||
@@ -8,8 +8,9 @@
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <netdb.h>
|
||||
- #include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
+ #include <netinet/in.h>
|
||||
+ #include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
@ -1,12 +1,12 @@
|
||||
bin/qterm
|
||||
lib/qterm/cursor/downArrow.bmp
|
||||
lib/qterm/cursor/leftArrow.bmp
|
||||
lib/qterm/cursor/m_downArrow.bmp
|
||||
lib/qterm/cursor/m_leftArrow.bmp
|
||||
lib/qterm/cursor/m_rightArrow.bmp
|
||||
lib/qterm/cursor/m_upArrow.bmp
|
||||
lib/qterm/cursor/rightArrow.bmp
|
||||
lib/qterm/cursor/upArrow.bmp
|
||||
lib/qterm/cursor/end.xpm
|
||||
lib/qterm/cursor/exit.xpm
|
||||
lib/qterm/cursor/home.xpm
|
||||
lib/qterm/cursor/mask.xpm
|
||||
lib/qterm/cursor/next.xpm
|
||||
lib/qterm/cursor/pagedown.xpm
|
||||
lib/qterm/cursor/pageup.xpm
|
||||
lib/qterm/cursor/prev.xpm
|
||||
lib/qterm/pic/addr.bmp
|
||||
lib/qterm/pic/anti.bmp
|
||||
lib/qterm/pic/beep.bmp
|
||||
|
Loading…
Reference in New Issue
Block a user