1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/chinese/qterm/Makefile
Li-Wen Hsu 34fa8ee784 - Update to 0.4.1
PR:		ports/121397
Submitted by:	Denise H. G. <darcsis AT gmail.com>
Approved by:	"YUAN Jue" <yuanjue AT yuanjue.net> (maintainer)
2008-03-06 08:38:08 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: qterm
# Date created: 10 Mar 2001
# Whom: Shen Chuan-Hsing
#
# $FreeBSD$
#
PORTNAME= qterm
PORTVERSION= 0.4.1
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.yuanjue.net/download/
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= zh-
MAINTAINER= yuanjue@yuanjue.net
COMMENT= QTerm is a BBS client for BSD/Linux
USE_BZIP2= yes
USE_PERL5_BUILD=yes
USE_QT_VER= 3
HAS_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
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:
@${CHMOD} +w ${DATADIR}/qterm.cfg
@${CHMOD} +w ${DATADIR}/address.cfg
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>