summaryrefslogtreecommitdiffstats
path: root/arabic/katoob/Makefile
blob: 724daa77c4413ba910a910228e3464749dc8b9ee (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
# 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=   10
CATEGORIES= arabic
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= arabeyes

MAINTAINER= sbahra@gwu.edu
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 ${OSVERSION} >= 700042
BROKEN=     Broken with gcc 4.2
.endif

.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>