# New ports collection makefile for:	rospell
# Date created:				2005-11-04
# Whom:			Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
#
# $FreeBSD: ports/editors/rospell/Makefile,v 1.22 2011/09/23 22:22:21 amdmi3 Exp $

PORTNAME=	rospell
PORTVERSION=	2009.02.r2
PORTREVISION=	1
CATEGORIES=	editors textproc # this should/will be romanian ;)
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	rospell/rospell/2008.00
DISTNAME=	${PORTNAME}-2009.00-rc2

MAINTAINER=	itetcu@FreeBSD.org
COMMENT=	QT-based editor with support for romanian charsets and spell checking

BUILD_DEPENDS+=	exctags:${PORTSDIR}/devel/ctags
RUN_DEPENDS+=	exctags:${PORTSDIR}/devel/ctags
LIB_DEPENDS+=	jpeg:${PORTSDIR}/graphics/jpeg

USE_XORG=	x11 xext
USE_QT_VER=	3

MAKE_ENV+=	PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
LDFLAGS+=	${PTHREAD_LIBS}

MAKEFILE=	BSDmakefile

MAN1=	rospell.1

.ifdef NOPORTDOCS
ALL_TARGET=	all-bin
INSTALL_TARGET=	install-bin
.endif

.include <bsd.port.pre.mk>

do-configure:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} dictfiles.h

do-build:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} ${ALL_TARGET}

do-install:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} ${INSTALL_TARGET}

.include <bsd.port.post.mk>
