mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
a2605b3968
o Use a more flexible form of USE_PYTHON o Build on non i386 platform is believed to be fixed. PR: ports/75052 Submitted by: MAINTAINER
42 lines
931 B
Makefile
42 lines
931 B
Makefile
# New ports collection makefile for: qterm
|
|
# Date created: 10 Mar 2001
|
|
# Whom: Shen Chuan-Hsing
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qterm
|
|
PORTVERSION= 0.4.0.p2
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-0.4.0pre2
|
|
|
|
MAINTAINER= gavin@FreeBSDChina.org
|
|
COMMENT= QTerm is a BBS client in Unix
|
|
|
|
USE_QT_VER= 3
|
|
HAS_CONFIGURE= yes
|
|
USE_REINPLACE= yes
|
|
CONFIGURE_ARGS= --enable-mt --prefix=${PREFIX} \
|
|
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
|
|
|
|
.if !defined(WITHOUT_PYTHON)
|
|
USE_PYTHON= 2.3+
|
|
CONFIGURE_ARGS+= --with-pythondir=${LOCALBASE}
|
|
.endif
|
|
|
|
pre-everything::
|
|
.if !defined(WITHOUT_PYTHON)
|
|
@${ECHO_MSG} "Define WITHOUT_PYTHON to disable Python scripts support."
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,-lssl,-lssl -lcrypto,' \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|