summaryrefslogtreecommitdiffstats
path: root/arabic/katoob/Makefile
blob: 7c2ea48e94520f6548ca4e397cdefad16c76fb6f (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
# New ports collection makefile for:    katoob
# Date created:             13th September 2003
# Whom:                 Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
#

PORTNAME=   katoob
PORTVERSION=    0.3.5
PORTREVISION=   8
CATEGORIES= arabic
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= arabeyes

MAINTAINER= sbahra@kerneled.org
COMMENT=    Light-weight, bidirectional editor for arabic texts

MAN1=       katoob.1

USE_GMAKE=  yes
USE_XLIB=   yes
USE_GNOME=  gnomeprefix gnomehack gtk20
WANT_GNOME= yes
USE_AUTOTOOLS=  libtool:15
USE_GETOPT_LONG=yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mgtksourceview}!="" || defined(WITH_HIGHLIGHTING)
CONFIGURE_ARGS+=    "--enable-highlight"
USE_GNOME+=     gtksourceview
.endif

.if defined(WITH_SPELLCHECKER) || exists(${LOCALBASE}/lib/libaspell.so.16)
CONFIGURE_ARGS+=    "--enable-spell"
LIB_DEPENDS+=       aspell.16:${PORTSDIR}/textproc/aspell
.endif

.include <bsd.port.post.mk>