1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/chinese/qterm/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

45 lines
991 B
Makefile

# New ports collection makefile for: qterm
# Date created: 10 Mar 2001
# Whom: Shen Chuan-Hsing
#
# $FreeBSD$
#
PORTNAME= qterm
PORTVERSION= 0.4.1
PORTREVISION= 7
CATEGORIES= chinese
MASTER_SITES= SF/qterm/qterm/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= QTerm is a BBS client for BSD/Linux
USE_XORG= x11 ice xext xt xaw xpm xi xproto xextproto
USE_BZIP2= yes
USE_PERL5_BUILD=yes
USE_QT_VER= 3
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --enable-mt --prefix=${PREFIX}
LDFLAGS+= -L${LOCALBASE}/lib
.if !defined(WITHOUT_PYTHON)
USE_PYTHON= 2.5+
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:
@${CHMOD} +w ${DATADIR}/qterm.cfg
@${CHMOD} +w ${DATADIR}/address.cfg
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>