aboutsummaryrefslogtreecommitdiffstats
path: root/arabic/katoob/Makefile
blob: fe62785d6a57880f2cad23356697fac504d18aa5 (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
# 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=   3
CATEGORIES= arabic
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= arabeyes

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

MAN1=       katoob.1

USE_GMAKE=      yes
USE_X_PREFIX=       yes
USE_GNOME=      gnomeprefix gnomehack gtk20
USE_LIBTOOL_VER=    13
USE_GETOPT_LONG=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if defined(WITH_HIGHLIGHTING) || exists(${X11BASE}/libdata/pkgconfig/gtksourceview-1.0.pc)
CONFIGURE_ARGS+=    "--enable-highlight"
USE_GNOME+=     gtksourceview
.endif

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

.include <bsd.port.post.mk>