blob: 5c4abd22bca62fc3d7e5ed2d8d7b603bf0ae05d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: qterm
# Date created: 10 Mar 2001
# Whom: Shen Chuan-Hsing
#
# $FreeBSD$
#
PORTNAME= qterm
PORTVERSION= 0.4.1
PORTREVISION= 8
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>
|