# Created by: Denise H. G. <darcsis@gmail.com>
# $FreeBSD: chinese/fqterm/Makefile 329015 2013-10-02 06:19:40Z marino $

PORTNAME=	fqterm
PORTVERSION=	0.9.3
PORTREVISION=	8
CATEGORIES=	chinese
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}-${PORTVERSION}-src-r569${SUTRACT_SUFFIX}

MAINTAINER=	darcsis@gmail.com
COMMENT=	BBS client for BSD/Linux

USE_XORG=	x11 ice xext xt xaw xpm xi xproto xextproto
USE_ZIP=	yes
USE_QT4=	gui network script qt3support imageformats \
		codecs-cn codecs-tw codecs-jp codecs-kr \
		qmake_build moc_build rcc_build uic_build linguist_build

HAS_CONFIGURE=	yes
USE_DOS2UNIX=	yes
USES=		cmake:outsource
CMAKE_ARGS=	-Wno-dev
WRKSRC=		${WRKDIR}/${PORTNAME}

DESKTOP_ENTRIES=	"FQTerm" "BBS client" "${PREFIX}/share/FQTerm/pic/fqterm.png" \
			"fqterm -caption \"%c\" %i %m %u" "Network;Qt;" ""
NO_STAGE=	yes
post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
