aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-08-21 06:18:00 +0800
committerpav <pav@FreeBSD.org>2004-08-21 06:18:00 +0800
commitddc4d18dbfd4f00914fc23016778cda17881a9bc (patch)
tree352e1fea8f986076c4c8e598dda42eb8328136d7 /chinese
parentb478a666bfe21f7dfd4e536ebc93382794f72a38 (diff)
downloadfreebsd-ports-gnome-ddc4d18dbfd4f00914fc23016778cda17881a9bc.tar.gz
freebsd-ports-gnome-ddc4d18dbfd4f00914fc23016778cda17881a9bc.tar.zst
freebsd-ports-gnome-ddc4d18dbfd4f00914fc23016778cda17881a9bc.zip
- Update to 0.3.7
PR: ports/70445 Submitted by: Gavin Mu <gavin@FreeBSDChina.org> (maintainer)
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