summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:18:00 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:18:00 +0000
commitb9117f408d3c7286c87aec69318eb8e0223fe20c (patch)
tree435cf6aed52e3e8690b1897e22a228fa9eef07d9 /chinese
parent- Convert to OPTIONS (diff)
- Update to 0.3.7
PR: ports/70445 Submitted by: Gavin Mu <gavin@FreeBSDChina.org> (maintainer)
Notes
Notes: svn path=/head/; revision=116848
Diffstat (limited to 'chinese')
-rw-r--r--chinese/qterm/Makefile20
-rw-r--r--chinese/qterm/distinfo4
2 files changed, 9 insertions, 15 deletions
diff --git a/chinese/qterm/Makefile b/chinese/qterm/Makefile
index 694f5670be78..5c1cf5231eec 100644
--- a/chinese/qterm/Makefile
+++ b/chinese/qterm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qterm
-PORTVERSION= 0.3.6
+PORTVERSION= 0.3.7
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,26 +18,20 @@ USE_QT_VER= 3
USE_GMAKE= yes
HAS_CONFIGURE= yes
USE_REINPLACE= yes
-CONFIGURE_ARGS= --enable-mt --with-pythondir=${LOCALBASE} --prefix=${PREFIX}
+CONFIGURE_ARGS= --enable-mt --prefix=${PREFIX}
.if !defined(WITHOUT_PYTHON)
USE_PYTHON= -2.3
+CONFIGURE_ARGS+= --with-pythondir=${LOCALBASE}
.endif
-.include <bsd.port.pre.mk>
-
pre-everything::
- @${ECHO_MSG} "Define WITHOUT_PYTHON to\
- disable PYTHON scripts support."
+.if !defined(WITHOUT_PYTHON)
+ @${ECHO_MSG} "Define WITHOUT_PYTHON to disable Python scripts support."
+.endif
post-patch:
- @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
- ${WRKSRC}/qterm/qtermtelnet.cpp
@${REINPLACE_CMD} -e 's,-lssl,-lssl -lcrypto,' \
${WRKSRC}/configure
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} -e 's,?"":,?QString::null:,' \
- ${WRKSRC}/qterm/qtermconfig.cpp
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/chinese/qterm/distinfo b/chinese/qterm/distinfo
index 6f773fc61fd5..f61540b19378 100644
--- a/chinese/qterm/distinfo
+++ b/chinese/qterm/distinfo
@@ -1,2 +1,2 @@
-MD5 (qterm-0.3.6.tar.gz) = a378cd055abdcac951c95dc8b91f5bcb
-SIZE (qterm-0.3.6.tar.gz) = 814118
+MD5 (qterm-0.3.7.tar.gz) = c55408617076a14cfe9145c458cea1a7
+SIZE (qterm-0.3.7.tar.gz) = 913873