2001-10-27 06:02:28 +00:00
|
|
|
# New ports collection makefile for: qterm
|
|
|
|
# Date created: 10 Mar 2001
|
|
|
|
# Whom: Shen Chuan-Hsing
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qterm
|
2004-05-25 07:32:55 +00:00
|
|
|
PORTVERSION= 0.3.6
|
2001-10-27 06:02:28 +00:00
|
|
|
CATEGORIES= chinese
|
2003-07-29 05:48:13 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-10-27 06:02:28 +00:00
|
|
|
|
2004-05-25 07:32:55 +00:00
|
|
|
MAINTAINER= gavin@FreeBSDChina.org
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT= QTerm is a BBS client in Unix
|
2001-10-27 06:02:28 +00:00
|
|
|
|
2003-01-16 09:21:44 +00:00
|
|
|
USE_QT_VER= 3
|
2001-10-27 06:02:28 +00:00
|
|
|
USE_GMAKE= yes
|
2002-04-15 10:47:24 +00:00
|
|
|
HAS_CONFIGURE= yes
|
2003-04-12 20:37:49 +00:00
|
|
|
USE_REINPLACE= yes
|
2003-11-09 08:46:12 +00:00
|
|
|
CONFIGURE_ARGS= --enable-mt --with-pythondir=${LOCALBASE} --prefix=${PREFIX}
|
2004-03-16 14:56:07 +00:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_PYTHON)
|
|
|
|
USE_PYTHON= -2.3
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-07-02 08:24:02 +00:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= "Does not compile on FreeBSD 4.x"
|
|
|
|
.endif
|
|
|
|
|
2004-03-16 14:56:07 +00:00
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG} "Define WITHOUT_PYTHON to\
|
|
|
|
disable PYTHON scripts support."
|
2003-04-12 20:37:49 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
|
|
|
${WRKSRC}/qterm/qtermtelnet.cpp
|
2004-03-16 14:56:07 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,-lssl,-lssl -lcrypto,' \
|
|
|
|
${WRKSRC}/configure
|
2001-10-27 06:02:28 +00:00
|
|
|
|
2004-03-16 14:56:07 +00:00
|
|
|
.include <bsd.port.post.mk>
|