aboutsummaryrefslogtreecommitdiff
path: root/editors/rospell/Makefile
blob: 57b3320d864969f00a508b1ad6cd321fb20fea8e (plain) (blame)
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
45
46
47
48
# New ports collection makefile for:	rospell
# Date created:				2005-11-04
# Whom:			Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
#
# $FreeBSD$

PORTNAME=	rospell
PORTVERSION=	2009.02.r2
PORTREVISION=	0
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}
CONFIGURE_ENV=	LDFLAGS="${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>