summaryrefslogtreecommitdiff
path: root/arabic/katoob
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2003-11-09 16:35:38 +0000
committerWill Andrews <will@FreeBSD.org>2003-11-09 16:35:38 +0000
commita3b1dbe9f1f3dba2d49e8bcfda4bfdc94da90f46 (patch)
tree60afa466439d98a4b07f08d6c135559057cadccc /arabic/katoob
parentFix ordering: inclusion of definitions of variables; inclusion of (diff)
Add katoob 0.3.5, a light-weight, bidirectional editor for arabic
texts. PR: 57511 Submitted by: Pav Lucistnik <pav@oook.cz> through Samy Al Bahra <samy@kerneled.com> (maintainer)
Notes
Notes: svn path=/head/; revision=93558
Diffstat (limited to 'arabic/katoob')
-rw-r--r--arabic/katoob/Makefile38
-rw-r--r--arabic/katoob/distinfo1
-rw-r--r--arabic/katoob/files/patch-src-init.c21
-rw-r--r--arabic/katoob/pkg-descr8
-rw-r--r--arabic/katoob/pkg-plist16
5 files changed, 84 insertions, 0 deletions
diff --git a/arabic/katoob/Makefile b/arabic/katoob/Makefile
new file mode 100644
index 000000000000..00442e88ff4b
--- /dev/null
+++ b/arabic/katoob/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: katoob
+# Date created: 13th September 2003
+# Whom: Pav Lucistnik <pav@oook.cz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= katoob
+PORTVERSION= 0.3.5
+CATEGORIES= arabic
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= arabeyes
+
+MAINTAINER= samy@kerneled.com
+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= yes
+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>
diff --git a/arabic/katoob/distinfo b/arabic/katoob/distinfo
new file mode 100644
index 000000000000..40527dbaa71d
--- /dev/null
+++ b/arabic/katoob/distinfo
@@ -0,0 +1 @@
+MD5 (katoob-0.3.5.tar.gz) = a05723c7aee914c51226270aa3d61ff9
diff --git a/arabic/katoob/files/patch-src-init.c b/arabic/katoob/files/patch-src-init.c
new file mode 100644
index 000000000000..7bff8d0267b9
--- /dev/null
+++ b/arabic/katoob/files/patch-src-init.c
@@ -0,0 +1,21 @@
+--- src/init.c Tue Aug 26 07:54:35 2003
++++ /home/samy/development/katoob/src/init.c Thu Aug 28 00:36:48 2003
+@@ -101,7 +101,18 @@
+ katoob->xkb_grps[i] =
+ XGetAtomName (GDK_DISPLAY (), kbinfo->names->groups[i]);
+ }
++ else
++ {
++ katoob->xkb_grps[i] = NULL;
++ }
+ }
++ }
++
++/* Let's NULL all the remaining array. */
++ while (grpnum < XkbNumKbdGroups)
++ {
++ katoob->xkb_grps[grpnum] = NULL;
++ ++grpnum;
+ }
+
+ XkbGetControls (GDK_DISPLAY (), XkbAllControlsMask, kbinfo);
diff --git a/arabic/katoob/pkg-descr b/arabic/katoob/pkg-descr
new file mode 100644
index 000000000000..e1ae573cbe2c
--- /dev/null
+++ b/arabic/katoob/pkg-descr
@@ -0,0 +1,8 @@
+Katoob is a light weight, multi lingual,
+BIDI-aware text editor based on the Gtk+ 2
+library. It supports opening and saving files
+in multiple encodings. The main support was
+for Arabic language but more languages are
+currently supported.
+
+WWW: http://www.arabeyes.org/project.php?proj=Katoob
diff --git a/arabic/katoob/pkg-plist b/arabic/katoob/pkg-plist
new file mode 100644
index 000000000000..875bec3b7e43
--- /dev/null
+++ b/arabic/katoob/pkg-plist
@@ -0,0 +1,16 @@
+bin/katoob
+share/gnome/applications/katoob.desktop
+share/gnome/katoob/close.png
+share/gnome/katoob/emulator/arabic
+share/gnome/katoob/green.png
+share/gnome/katoob/katoob.png
+share/gnome/katoob/katoob-small.png
+share/gnome/katoob/landscape.png
+share/gnome/katoob/portrait.png
+share/gnome/katoob/red.png
+share/gnome/pixmaps/katoob-icon.png
+share/locale/ar/LC_MESSAGES/katoob.mo
+share/locale/pl/LC_MESSAGES/katoob.mo
+share/locale/sv/LC_MESSAGES/katoob.mo
+@dirrm share/gnome/katoob/emulator
+@dirrm share/gnome/katoob