summaryrefslogtreecommitdiffstats
path: root/chinese/qterm
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-08-20 22:18:00 +0000
committerpav <pav@FreeBSD.org>2004-08-20 22:18:00 +0000
commitddc4d18dbfd4f00914fc23016778cda17881a9bc (patch)
tree352e1fea8f986076c4c8e598dda42eb8328136d7 /chinese/qterm
parentb478a666bfe21f7dfd4e536ebc93382794f72a38 (diff)
downloadFreeBSD-ports-ddc4d18dbfd4f00914fc23016778cda17881a9bc.zip
FreeBSD-ports-ddc4d18dbfd4f00914fc23016778cda17881a9bc.tar.gz
- Update to 0.3.7
PR: ports/70445 Submitted by: Gavin Mu <gavin@FreeBSDChina.org> (maintainer)
Diffstat (limited to 'chinese/qterm')
-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 694f567..5c1cf52 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 6f773fc..f61540b 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
OpenPOWER on IntegriCloud