mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
9b19fd7801
- Fix WWW: - Assign maintainership to submitter PR: ports/64278 Submitted by: Gavin Mu <gavin@tju.edu.cn>
41 lines
892 B
Makefile
41 lines
892 B
Makefile
# New ports collection makefile for: qterm
|
|
# Date created: 10 Mar 2001
|
|
# Whom: Shen Chuan-Hsing
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qterm
|
|
PORTVERSION= 0.3.5
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= gavin@tju.edu.cn
|
|
COMMENT= QTerm is a BBS client in Unix
|
|
|
|
USE_QT_VER= 3
|
|
USE_GMAKE= yes
|
|
HAS_CONFIGURE= yes
|
|
USE_REINPLACE= yes
|
|
CONFIGURE_ARGS= --enable-mt --with-pythondir=${LOCALBASE} --prefix=${PREFIX}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
.if !defined(WITHOUT_PYTHON)
|
|
USE_PYTHON= -2.3
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-everything::
|
|
@${ECHO_MSG} "Define WITHOUT_PYTHON to\
|
|
disable PYTHON scripts support."
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
|
${WRKSRC}/qterm/qtermtelnet.cpp
|
|
@${REINPLACE_CMD} -e 's,-lssl,-lssl -lcrypto,' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|